LatitudeLongitudeGrid class final

A grid consisting of east-west lines of latitude and north-south lines of longitude.

This class represents graticules--lines showing parallels of latitude and meridians of longitude for the earth.

The position of the graticules are based on the WGS84 ellipsoid, irrespective of the spatial reference used by the map or scene view.

To display graticules, create a LatitudeLongitudeGrid and set it as the grid property within the MapView or SceneView.

LatitudeLongitudeGrid extends Grid, adding the label unit property.

Inheritance

Constructors

LatitudeLongitudeGrid()
Constructs a grid consisting of east-west lines of latitude and north-south lines of longitude (also known as graticules).
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isVisible bool
The visibility of the grid.
getter/setter pairinherited
labelFormat LatitudeLongitudeGridLabelFormat
The format used for labeling the grid.
getter/setter pair
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
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