Show / Hide Table of Contents

Class MgrsGrid

A class that represents the display of the Military Grid Reference System (MGRS) on the map or scene view.

Inheritance
System.Object
Grid
MgrsGrid
Grid.IsVisible
Grid.LabelOffset
Grid.LabelPosition
Grid.IsLabelVisible
Grid.LevelCount
Grid.GetLineSymbol(Int64)
Grid.GetTextSymbol(Int64)
Grid.SetLineSymbol(Int64, Symbol)
Grid.SetTextSymbol(Int64, Symbol)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class MgrsGrid : Grid
Remarks

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

Constructors

Name Description
MgrsGrid()

Initializes a new instance of the MgrsGrid class.

Properties

Name Description
LabelUnit

Gets or sets the units used for labeling the grid.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

Display grid: Display coordinate system grids including Latitude/Longitude, MGRS, UTM and USNG on a map view. Also, toggle label visibility and change the color of grid lines and grid labels.
In This Article
Back to top Copyright © 2022 Esri.