GM_Projection_tGetMGRSCoordinates Method |
Gets the MGRS (military grid reference system) coordinates for a location
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 GetMGRSCoordinates(
double aX,
double aY,
bool aLatLon,
out string aMgrsStr
)
Parameters
- aX
- Type: SystemDouble
IN: point X/longitude coordinate - aY
- Type: SystemDouble
IN: point Y/latitude coordinate - aLatLon
- Type: SystemBoolean
IN: TRUE - coordinates are lat/lon, FALSE - coordinates are in the current projection? - aMgrsStr
- Type: SystemString
OUT: MGRS coordinate text
Return Value
Type:
GM_Error_t32A GM Error Code
See Also