Grid

sealed class Grid

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.

Since

200.1.0

Inheritors

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.

Functions

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
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.