Click or drag to resize

GM_UtilityGetLocationElevation Method

Retrieves the elevation at a given location from a provided layer 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 GetLocationElevation(
	GM_Layer_t aLayer,
	double aXCoord,
	double aYCoord,
	out float aElev
)

Parameters

aLayer
Type: GlobalMapper.TypesGM_Layer_t
IN: Layer to get elevation from or NULL for topmost
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_t32
A GM Error Code
See Also