Controlling raster and elevation layer order
Mike,
Is there any way to control the layer order for elevation and raster layers? I control the order myself for drawing, but I was wondering about the GetLocationElevation function. I am wondering if there is any way to control the layer order to set the priority for getting elevation values. If the code is already in the SDK for looking through layers to find valid elevation values, I was thinking it might be possible to get the layer order, resort it according to the user's purposes, and give it back to the SDK.
David
Is there any way to control the layer order for elevation and raster layers? I control the order myself for drawing, but I was wondering about the GetLocationElevation function. I am wondering if there is any way to control the layer order to set the priority for getting elevation values. If the code is already in the SDK for looking through layers to find valid elevation values, I was thinking it might be possible to get the layer order, resort it according to the user's purposes, and give it back to the SDK.
David
Comments
-
David,
While there is not a way in the SDK to re-order the layers currently, what you could do to use a particular priority is to call GM_GetLocationElevation with one layer at a time to check, starting with the highest priority one. The first one that returns a valid value would be the one that you keep.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website