Click or drag to resize

GM_GetLocationElevation

Retrieves the elevation at a given location from a provided layer or from the list of currently loaded elevation layers (topmost elevation layer first).

Syntax
GM_DLL_EXPORTED GM_Error_t32 GM_GetLocationElevation

(

GM_LayerHandle_t32      aLayer,     // IN: Layer to get elevation from or NULL for topmost

double                  aXCoord,    // IN: X coord in current projection

double                  aYCoord,    // IN: Y coord in current projection

float*                  aElev       // OUT: Elevation at location in meters

);