UsngGrid class final
A class that represents the display of the United States National Grid (USNG) on the map view.
The United States National Grid (USNG) is a point reference system of grid references commonly used in the United States. It provides a nationally consistent language of location in a user friendly format. It is similar in design to the national grid reference systems used throughout other nations. The USNG was developed by the Federal Geographic Data Committee.
To display the USNG grid, create a USNGGrid and set it as the grid property within the MapView.
USNGGrid inherits from Grid and adds a property for the label unit to use.
Constructors
- UsngGrid()
-
Constructs a USNG 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 ↔ UsngGridLabelUnit
-
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