Latitude Longitude Grid
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.
Since
200.1.0
See also
Constructors
Constructs a grid consisting of east-west lines of latitude and north-south lines of longitude (also known as graticules). The grid is supported in spatial references which are continuously pannable or some polar spatial references. You can check the com.arcgismaps.geometry.SpatialReference.isPannable property is true on your spatial reference. Examples of continuously pannable spatial references include WGS84 (WKID 4326) and Web Mercator Auxiliary Sphere (WKID 102113, 102100, or 3857).
Inherited properties
The grid's text label offset from the edge of the map view in DIPS.
The positioning of the grid's labels.
The visibility of the grid's labels.
The number of levels of resolution supported by the grid. The line and label style can be set for each of these resolution levels. The resolution of the displayed grid may adapt as the scale of the displayed map changes. This method returns the finite number of different resolutions that are available for this grid.
Inherited functions
Returns the line symbol used for the grid lines at the given resolution level.
Get the text symbol used for the grid labels at the given resolution level.
Set the line symbol used for the grid lines at the given resolution level.
Set the text symbol used for the grid labels at the given resolution level.