globalmapper.GetLocationElevation¶
- globalmapper.GetLocationElevation(GM_LayerHandle_t32 aLayer, float aXCoord, float aYCoord) GM_Error_t32, float [source]¶
Retrieves the elevation at a given location from a provided layer or from the list of currently loaded elevation layers (topmost elevation layer first).
- Parameters
aLayer (GM_LayerHandle_t32) – Layer to get elevation from or gm.NULL for topmost
aXCoord (float) – X coord in current projection
aYCoord (float) – Y coord in current projection
- Returns
Error Code
- Return type
GM_Error_t32
- Returns
Elevation at location in meters
- Return type
float