Represents a grid with Military Grid Reference System (MGRS) for displaying on a map or scene view. More...
Public Functions Detailed DescriptionThe military grid reference system is the geocoordinate standard used by various militaries for locating points on the earth. The MGRS grid is derived from the Universal Transverse Mercator (UTM) grid system and the universal polar stereographic (UPS) grid system, but uses a different labeling convention. MGRS is used for the entire earth.
To display the MGRS grid, create a MGRSGrid and set it as the grid property within the MapView or SceneView.
MGRSGrid inherits from Grid and adds a property for the label unit to use. The grid is supported in spatial references which are continuously pannable or some polar spatial references.
You can check that the isPannable property is true
on your spatial reference.
Examples of continuously pannable spatial references include WGS84 (WKID 4326) and Web Mercator Auxilliary Sphere (WKID 102113, 102100, or 3857).
The following polar spatial references are also supported:
Relevant samples:
See also Esri::ArcGISRuntime::GeoView::grid.
Member Function Documentation[explicit]
MGRSGrid::MGRSGrid(QObject *parent = nullptr)
Default constructor with an optional parent.
[override virtual noexcept]
MGRSGrid::~MGRSGrid()
Destructor.
Esri::ArcGISRuntime::MGRSGridLabelUnit MGRSGrid::labelUnit() constReturns the labeling unit of the grid, such as meters or kilometers.
See also setLabelUnit().
void MGRSGrid::setLabelUnit(Esri::ArcGISRuntime::MGRSGridLabelUnit labelUnit)Sets the labeling unit of the MGRS grid, such as meters or kilometers, to labelUnit.
See also labelUnit().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4