MgrsGrid class final

A class that represents the display of the Military Grid Reference System (MGRS) on the map view.

The military grid reference system is the geocoordinate standard used by various militaries for locating points on the earth. The MGRS grid is derived from the Universal Transverse Mercator (UTM) grid system and the universal polar stereographic (UPS) grid system, but uses a different labeling convention. MGRS is used for the entire earth.

To display the MGRS grid, create a MGRSGrid and set it as the grid property within the MapView.

MGRSGrid inherits from Grid and adds a property for the label unit to use.

Inheritance

Constructors

MgrsGrid()
Constructs an MGRS grid for displaying on a map view.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isVisible bool
The visibility of the grid.
getter/setter pairinherited
labelOffset double
The grid's text label offset from the edge of the map view in DIPS.
getter/setter pairinherited
labelPosition GridLabelPosition
The positioning of the grid's labels.
getter/setter pairinherited
labelUnit MgrsGridLabelUnit
The units used for labeling the grid.
getter/setter pair
labelVisibility bool
The visibility of the grid's labels.
getter/setter pairinherited
levelCount int
The number of levels of resolution supported by the grid. The line and label style can be set for each of these resolution levels.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getLineSymbol({required int level}) ArcGISSymbol
Returns the line symbol used for the grid lines at the given resolution level.
inherited
getTextSymbol({required int level}) ArcGISSymbol
Get the text symbol used for the grid labels at the given resolution level.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLineSymbol({required int level, required ArcGISSymbol lineSymbol}) → void
Set the line symbol used for the grid lines at the given resolution level.
inherited
setTextSymbol({required int level, required ArcGISSymbol textSymbol}) → void
Set the text symbol used for the grid labels at the given resolution level.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited