Where is ObjectLocator (osgEarth 2.8) class in osgEarth 2.9 ?

classic Classic list List threaded Threaded
3 messages Options
Henry Henry
Reply | Threaded
Open this post in threaded view
|

Where is ObjectLocator (osgEarth 2.8) class in osgEarth 2.9 ?

When I used osgEarth 2.8, I used ObjectLocator class to  position a model using world coordinates.
When I update to osgEarth 2.9, the ObjectLocator class is missing.
Is there any class that can replace ObjectLocator? How should I position a model using world coordinates in version 2.9 ?
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Where is ObjectLocator (osgEarth 2.8) class in osgEarth 2.9 ?

Please use GeoTransform instead.
Glenn Waldron / Pelican Mapping
Henry Henry
Reply | Threaded
Open this post in threaded view
|

Re: Where is ObjectLocator (osgEarth 2.8) class in osgEarth 2.9 ?

Done. Thank you very much.