A class that represents the display of the United States National Grid (USNG) on the map or scene view. More...
Public Functions Detailed DescriptionThe United States National Grid (USNG) is a point reference system of grid references commonly used in the United States. It provides a nationally consistent language of location in a user friendly format. It is similar in design to the national grid reference systems used throughout other nations. The USNG was developed by the Federal Geographic Data Committee.
To display the USNG grid, create a USNGGrid and set it as the grid property within the MapView or SceneView.
USNGGrid inherits from Grid and adds a property for the label unit to use.
Relevant samples:
See also Esri::ArcGISRuntime::GeoView::grid.
Member Function Documentation[explicit]
USNGGrid::USNGGrid(QObject *parent = nullptr)
Creates a USNG grid for displaying on a map or scene view.
The grid is supported in spatial references which are continuously pannable or some polar spatial references. You can check the 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).
The following polar spatial references are also supported:
[override virtual noexcept]
USNGGrid::~USNGGrid()
Destructor.
Esri::ArcGISRuntime::USNGGridLabelUnit USNGGrid::labelUnit() constReturns the labeling unit scheme of the grid, such as always using meters, or using kilometers or meters depending on the display scale.
See also setLabelUnit().
void USNGGrid::setLabelUnit(Esri::ArcGISRuntime::USNGGridLabelUnit labelUnit)Sets the labeling unit of the USNG grid, such as always using meters, or using kilometers or meters depending on the display scale, 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