Changeset 4284 for trunk/packages/vizservers/geovis/Renderer.cpp
- Timestamp:
- Mar 27, 2014, 11:12:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/geovis/Renderer.cpp
r4282 r4284 463 463 464 464 void Renderer::addImageLayer(const char *name, 465 constosgEarth::TileSourceOptions& opts,465 osgEarth::TileSourceOptions& opts, 466 466 bool makeShared, 467 467 bool visible) … … 557 557 558 558 void Renderer::addElevationLayer(const char *name, 559 const osgEarth::TileSourceOptions& opts) 560 { 559 osgEarth::TileSourceOptions& opts) 560 { 561 if (!opts.tileSize().isSet()) { 562 opts.tileSize() = 15; 563 } 564 osgEarth::ElevationLayerOptions layerOpts(name, opts); 561 565 // XXX: GDAL does not report vertical datum, it should be specified here 562 osgEarth::ElevationLayerOptions layerOpts(name, opts);563 566 // Common options: geodetic (default), egm96, egm84, egm2008 564 567 //layerOpts.verticalDatum() = "egm96"; … … 602 605 } 603 606 604 void Renderer::addModelLayer(const char *name, constosgEarth::ModelSourceOptions& opts)607 void Renderer::addModelLayer(const char *name, osgEarth::ModelSourceOptions& opts) 605 608 { 606 609 osgEarth::ModelLayerOptions layerOpts(name, opts);
Note: See TracChangeset
for help on using the changeset viewer.