Global Mapper SDK
| GM_Projection_t .GetMGRSCoordinates Method |
Gets the MGRS (military grid reference system) coordinates for a location
Namespace:GlobalMapper.Types
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)
C#
public static GM_Error_t32 GetMGRSCoordinates ( double aX , double aY , bool aLatLon , out string aMgrsStr )
Parameters
- aX
-
Type:
System
.
Double
IN: point X/longitude coordinate - aY
-
Type:
System
.
Double
IN: point Y/latitude coordinate - aLatLon
-
Type:
System
.
Boolean
IN: TRUE - coordinates are lat/lon, FALSE - coordinates are in the current projection? - aMgrsStr
-
Type:
System
.
String
OUT: MGRS coordinate text
Return Value
Type: GM_Error_t32A GM Error Code
Comments
0 comments
Please sign in to leave a comment.