GM_UtilityGetMGRSCoordinates Method |
Gets the MGRS (military grid reference system) coordinates for a location
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.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
)
Public Shared Function GetMGRSCoordinates (
aX As Double,
aY As Double,
aLatLon As Boolean,
<OutAttribute> ByRef aMgrsStr As String
) As GM_Error_t32
public:
static GM_Error_t32 GetMGRSCoordinates(
double aX,
double aY,
bool aLatLon,
[OutAttribute] 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