![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jul 2012
Posts: 1
![]() |
I have seen this has been an issue in the past, but I have yet to see a solution to this problem. I am developing an application in which the user sees a globe, which they can rotate and zoom. As the view changes markers should appear and disappear based on the current view of the globe. I feel I need to know the maximum latitude and longitude so I know which markers to place, but I do not know how to compute that.
Currently, I have a WorldWindGLCanvas, with the current markers viewed in a RenderableLayer. Markers are to be created and removed from the layer as the user moves the globe view. Are there any objects that I can use to compute these values? (Note: these can be estimates, they do not have to be exact. if there is a way to obtain rough values, that will work too) |
|
|
|
|
|
#2 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,027
![]() |
For the layers containing the markers, call setMinActiveAltitude() and setMaxActiveAltitude(). This will control display of the markers relative to the eye altitude.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Precision of Lat/Lon Coordinates | neightl | WorldWind General | 1 | 08-16-2010 02:50 AM |