- Timestamp:
- Mar 16, 2014, 6:26:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/geovis/Renderer.cpp
r4246 r4247 274 274 mapOpts.profile()->srsString() = profile; 275 275 } 276 TRACE("Setting profile bounds: %g %g %g %g", 277 bounds[0], bounds[1], bounds[2], bounds[3]); 276 278 mapOpts.profile()->bounds() = 277 279 osgEarth::Bounds(bounds[0], bounds[1], bounds[2], bounds[3]); … … 281 283 } else if (type == osgEarth::MapOptions::CSTYPE_PROJECTED) { 282 284 mapOpts.profile() = osgEarth::ProfileOptions("global-mercator"); 283 }284 if (bounds != NULL) {285 TRACE("Setting profile bounds: %g %g %g %g",286 bounds[0], bounds[1], bounds[2], bounds[3]);287 mapOpts.profile()->bounds() =288 osgEarth::Bounds(bounds[0], bounds[1], bounds[2], bounds[3]);289 285 } 290 286 osgEarth::Map *map = new osgEarth::Map(mapOpts);
Note: See TracChangeset
for help on using the changeset viewer.