MGRS class
Military Grid Reference System (MGRS/NATO) grid references provides with methods to parse references, and to convert to UTM coordinates and latitude/longitude.
MGRS references comprise a grid zone designator, a 100km square identification, and an easting and northing (in metres); e.g. ‘31U DQ 48251 11932’.
Depending on requirements, some parts of the reference may be omitted (implied), and eastings/northings may be given to varying resolution.
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toLatLng(
) → LatLng - Converts UTM zone/easting/northing coordinate to latitude/longitude.
-
toString(
{int digits = 10}) → String -
Returns a string representation of an MGRS grid reference.
override
-
toUTM(
) → UTM - Converts MGRS grid reference to UTM coordinate.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited