Constructor MgrsGrid
MgrsGrid()
Initializes a new instance of the MgrsGrid class.
Declaration
public MgrsGrid()
Remarks
Constructs an MGRS grid for displaying on a map view.
The grid is supported in spatial references which are continuously pannable or some polar spatial references. You can check the 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:
- North pole Azimuthal Equidistant (WKID 102016)
- North pole gnomic (WKID 102034)
- North pole Lambert equal area (WKID 102017)
- North pole orthographic (WKID 102035)
- North pole stereographic (WKID 102018)
- NSIDE EASE North (WKID 3408)
- NSIDC Sea Ice polar stereographic north (WKID 3411)
- WGS 1984 NSIDC Sea Ice Polar Stereographic North (WKID 3413)
- UPS North (WKID 32661)
- South pole Azimuthal Equidistant (WKID 102019)
- South pole gnomic (WKID 102036)
- South pole Lambert equal area (WKID 102020)
- South pole orthographic (WKID 102037)
- South pole stereographic (WKID 102021)
- NSIDE EASE South (WKID 3409)
- NSIDC Sea Ice polar stereographic South (WKID 3412)
- UPS South (WKID 32761)
- WGS1984 Antarctic polar stereographic (WKID 3031)
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
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.