Global Mapper SDK
| GM_Layer_t .GetLocationElevation Method (GM_Layer_t, Double, Double, Single ) |
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.Types
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
public static GM_Error_t32 GetLocationElevation ( GM_Layer_t aLayer , double aXCoord , double aYCoord , out float aElev )
Parameters
- aLayer
-
Type:
GlobalMapper
.
GM_Layer_t
IN: Layer to get elevation from or NULL for topmost - aXCoord
-
Type:
System
.
Double
IN: X coord in current projection - aYCoord
-
Type:
System
.
Double
IN: Y coord in current projection - aElev
-
Type:
System
.
Single
OUT: Elevation at location in meters
Return Value
Type: GM_Error_t32A GM Error Code
Comments
0 comments
Please sign in to leave a comment.