GM_UtilityGetLocationElevationEx Method |
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).
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 GetLocationElevationEx(
GM_LayerList_t aLayerList,
double aXCoord,
double aYCoord,
out float aElev
)
Public Shared Function GetLocationElevationEx (
aLayerList As GM_LayerList_t,
aXCoord As Double,
aYCoord As Double,
<OutAttribute> ByRef aElev As Single
) As GM_Error_t32
public:
static GM_Error_t32 GetLocationElevationEx(
GM_LayerList_t^ aLayerList,
double aXCoord,
double aYCoord,
[OutAttribute] float% aElev
)
Parameters
- aLayerList
- Type: GlobalMapper.TypesGM_LayerList_t
IN: List of layers to search for points or NULL for all terrain layers - aXCoord
- Type: SystemDouble
IN: X coord in current projection - aYCoord
- Type: SystemDouble
IN: Y coord in current projection - aElev
- Type: SystemSingle
OUT: Elevation at location in meters
Return Value
Type:
GM_Error_t32A GM Error Code
See Also