UtmGrid

class UtmGrid : Grid

A class that represents the display of the Universal Transverse Mercator (UTM) coordinate system grid on the map view. The Universal Transverse Mercator (UTM) conformal projection uses a 2-dimensional Cartesian coordinate system to give locations on the surface of the Earth. Like the traditional method of latitude and longitude, it is a horizontal position representation, i.e. it is used to identify locations on the Earth independently of vertical position. However, it differs from that method in several respects.

The UTM system is not a single map projection. The system instead divides the Earth into sixty zones, each being a six-degree band of longitude, and uses a secant transverse Mercator projection in each zone.

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

Since

200.1.0

See also

Constructors

Link copied to clipboard
constructor()

Constructs a grid for displaying UTM zones on a map view. 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

Link copied to clipboard

The visibility of the grid.

Link copied to clipboard

The grid's text label offset from the edge of the map view in DIPS.

Link copied to clipboard

The positioning of the grid's labels.

Link copied to clipboard

The visibility of the grid's labels.

Link copied to clipboard

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

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun getLineSymbol(level: Int): Symbol

Returns the line symbol used for the grid lines at the given resolution level.

Link copied to clipboard
fun getTextSymbol(level: Int): Symbol

Get the text symbol used for the grid labels at the given resolution level.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun setLineSymbol(level: Int, lineSymbol: Symbol)

Set the line symbol used for the grid lines at the given resolution level.

Link copied to clipboard
fun setTextSymbol(level: Int, textSymbol: Symbol)

Set the text symbol used for the grid labels at the given resolution level.