|11-02-2009, 10:18 PM||#1|
Join Date: Aug 2009
Rendering Markers on the Surface
Previously in my application when I wanted to render markers on the surface, I just set the marker layer setOverrideMarkerElevation to true. However, I have some cases where I want to explicitly set the elevation of some markers, but render others on the surface. I tried rendering the surface ones at the elevation of the lat/lon it was being rendered it (obtained through the globe), but I'm still finding that certain points get "hidden" when I zoom in too close. I'm wondering if maybe elements at other layers are being rendered at a higher elevations which might hide the marker. Any thoughts on how to accomplish some points on the surface and others at my chosen elevation?
|11-07-2009, 02:51 PM||#2|
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
When you get an elevation value for a given lat/lon, you get the currently available value that may not be the most accurate depending how much elevation data has been loaded by the client. In other terms, elevations returned by the globe and the underlying elevation model can vary over time and you need to 'refresh' your markers elevation at regular intervals to keep them in sync with the terrain surface.
For instance, the terrain tesselator rebuilds its surface geometry tiles every second. Airspace and ContourLine do also reassess they shapes at intervals.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|0.6SDK surface shape rendering behaviour||Bladerunner||Development Help||2||07-12-2011 03:05 AM|
|Surface shapes rendering performance||DanPngc12||Development Help||27||12-17-2009 11:46 PM|
|Surface Image Rendering||jas511||Development Help||6||08-12-2009 04:57 PM|
|[Solved] Disappearing/Reappearing Markers||Andrew Fresquez||Development Help||4||04-01-2009 11:39 PM|
|Snapshot Error||jediwashuu||Bug Reports||4||11-06-2004 03:39 AM|