GetLocationElevationEx

globalmapper.GetLocationElevationEx([GM_LayerHandle_t32] aLayerList, float aXCoord, float aYCoord) GM_Error_t32, float[source]

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

Parameters:
  • aLayerList ([GM_LayerHandle_t32]) – List of layers to search for points or None for all terrain layers

  • 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