mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
[Globe] Set home viewport to lon 0
This commit is contained in:
parent
3fd27e0d17
commit
7ddb2928fe
@ -301,7 +301,7 @@ void GlobePlugin::run()
|
||||
osgEarth::Util::EarthManipulator* manip = new osgEarth::Util::EarthManipulator();
|
||||
mOsgViewer->setCameraManipulator( manip );
|
||||
osgEarth::Util::Viewpoint viewpoint;
|
||||
viewpoint.focalPoint() = osgEarth::GeoPoint( osgEarth::SpatialReference::get( "wgs84" ), -90., 0., 0. );
|
||||
viewpoint.focalPoint() = osgEarth::GeoPoint( osgEarth::SpatialReference::get( "wgs84" ), 0., 0., 0. );
|
||||
viewpoint.heading() = 0.;
|
||||
viewpoint.pitch() = -90.;
|
||||
viewpoint.range() = 2e7;
|
||||
|
Loading…
x
Reference in New Issue
Block a user