Show / Hide Table of Contents

Class LatitudeLongitudeGrid

A grid consisting of east-west lines of latitude and north-south lines of longitude.

Inheritance
System.Object
Grid
LatitudeLongitudeGrid
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 LatitudeLongitudeGrid : Grid
Remarks

This class represents graticules — lines showing parallels of latitude and meridians of longitude for the earth.

The position of the graticules are based on the WGS84 ellipsoid, irrespective of the spatial reference used by the map or scene view.

To display graticules, create a LatitudeLongitudeGrid and set it as the grid property within the MapView or SceneView. LatitudeLongitudeGrid extends Grid, adding the label unit property.

Constructors

Name Description
LatitudeLongitudeGrid()

Initializes a new instance of the LatitudeLongitudeGrid class.

Properties

Name Description
LabelFormat

Gets or sets the format 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.