Grid class final

Grid is a base class for MGRSGrid, USNGGrid, UTMGrid and LatitudeLongitudeGrid that represents the display of a coordinate system grid on the map view.

It contains all of the common operations and properties that apply to displaying and working with the different grids currently supported. This includes toggling visibility and configuring layout and appearance preferences.

Implemented types
Implementers

Properties

hashCode int
The hash code for this object.
no setteroverride
isVisible bool
The visibility of the grid.
getter/setter pair
labelOffset double
The grid's text label offset from the edge of the map view in DIPS.
getter/setter pair
labelPosition GridLabelPosition
The positioning of the grid's labels.
getter/setter pair
labelVisibility bool
The visibility of the grid's labels.
getter/setter pair
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 setter
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.
getTextSymbol({required int level}) ArcGISSymbol
Get the text symbol used for the grid labels at the given resolution level.
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.
setTextSymbol({required int level, required ArcGISSymbol textSymbol}) → void
Set the text symbol used for the grid labels at the given resolution level.
toString() String
A string representation of this object.
inherited

Operators

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