ArcGIS Runtime SDK for iOS: AGSUTMGrid Class Reference
ArcGIS Runtime SDK for iOS  100.12
AGSUTMGrid Class Reference

Description

A grid representing the Universal Transverse Mercator (UTM) coordinate system.

Instances of this class represent a grid based on Universal Transverse Mercator (UTM) zones for displaying on a map. The Universal Transverse Mercator (UTM) conformal projection uses a 2-dimensional Cartesian coordinate system to give locations on the surface of the Earth. Like the traditional method of latitude and longitude, it is a horizontal position representation, i.e. it is used to identify locations on the Earth independently of vertical position. The UTM system is not a single map projection. The system instead divides the Earth into sixty zones, each being a six-degree band of longitude, and uses a secant transverse Mercator projection in each zone.

The grid is supported in spatial references which are continuously pannable or some polar spatial references. (You can check AGSSpatialReference::isPannable on the 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:

  • 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)
Since
100
Inheritance diagram for AGSUTMGrid:
AGSGrid AGSObject

Instance Methods

(AGSSymbol *) - lineSymbolForLevel:
 
(void) - setLineSymbol:forLevel:
 
(void) - setTextSymbol:forLevel:
 
(AGSSymbol *) - textSymbolForLevel:
 

Class Methods

(instancetype) + UTMGrid
 

Properties

double labelOffset
 
AGSGridLabelPosition labelPosition
 
BOOL labelVisibility
 
NSInteger levelCount
 
BOOL visible
 

Method Documentation

◆ lineSymbolForLevel:

- (AGSSymbol*) lineSymbolForLevel: (NSInteger)  level

Returns the line symbol used for the grid lines at the given resolution level.

Parameters
levelspecifiying the resolution level for which the symbol is desired.
Returns
The symbol at the specified resolution level.
Since
100

◆ setLineSymbol:forLevel:

- (void) setLineSymbol: (AGSSymbol *)  symbol
forLevel: (NSInteger)  level 

Set the line symbol used for the grid lines at the given resolution level.

Parameters
symbolto be used for grid lines
levelThe level specifiying the resolution level for which the symbol is desired.
Since
100

◆ setTextSymbol:forLevel:

- (void) setTextSymbol: (AGSSymbol *)  symbol
forLevel: (NSInteger)  level 

Set the text symbol used for the grid text labels at the given resolution level.

Parameters
symbolto be used for grid text label
levelspecifiying the resolution level for which the symbol is desired
Since
100

◆ textSymbolForLevel:

- (AGSSymbol*) textSymbolForLevel: (NSInteger)  level

Returns the text symbol used for the grid text labels at the given resolution level.

Parameters
levelspecifiying the resolution level for which the symbol is desired.
Returns
The symbol at the specified resolution level.
Since
100

◆ UTMGrid

+ (instancetype) UTMGrid

Creates a UTM grid.

Returns
A new UTM grid.
Since
100

Property Documentation

◆ labelOffset

- (double) labelOffset
readwritenonatomicassigninherited

Specifies the grid's text label offset (in screen points) from the edge of the map view.

Since
100

◆ labelPosition

- (AGSGridLabelPosition) labelPosition
readwritenonatomicassigninherited

Specifies the positioning of the grid's text labels.

Since
100

◆ labelVisibility

- (BOOL) labelVisibility
readwritenonatomicassigninherited

Specifies whether the grid's text labels are visible or not.

Since
100

◆ levelCount

- (NSInteger) levelCount
readnonatomicassigninherited

Returns the number of levels of resolution supported by the grid. The line and label style can be set for each of these resolution levels. The resolution of the displayed grid may adapt as the scale of the displayed map changes.

Since
100

◆ visible

- (BOOL) visible
readwritenonatomicassigninherited

Specifies whether the grid is visible or not.

Since
100