Persisting Viewpoints to Earth File

classic Classic list List threaded Threaded
1 message Options
jeladi jeladi
Reply | Threaded
Open this post in threaded view
|

Persisting Viewpoints to Earth File

I have an osgEarth 2.8-based application where the user can create viewpoints in the GUI and navigate to them.  I would like to be able to write these viewpoints to the earth file on program exit so they can be loaded back in the next time the program is run.  I noticed some of the test earth files have viewpoints in them but I didn't see a way to go through the MapNode or Map to read/write viewpoints.  Is this something that is possible with v2.8?