ArcGIS Runtime SDK for iOS
100.15
|
A grid consisting of east-west lines of latitude and north-south lines of longitude.
Instances of this class represent graticules – lines showing parallels of latitude and meridians of longitude . 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:
Instance Methods | |
(AGSSymbol *) | - lineSymbolForLevel: |
(void) | - setLineSymbol:forLevel: |
(void) | - setTextSymbol:forLevel: |
(AGSSymbol *) | - textSymbolForLevel: |
Class Methods | |
(instancetype) | + latitudeLongitudeGrid |
Properties | |
AGSLatitudeLongitudeGridLabelFormat | labelFormat |
double | labelOffset |
AGSGridLabelPosition | labelPosition |
BOOL | labelVisibility |
NSInteger | levelCount |
BOOL | visible |
+ (instancetype) latitudeLongitudeGrid |
Creates a new latitude-longitude grid.
- (AGSSymbol*) lineSymbolForLevel: | (NSInteger) | level |
Returns the line symbol used for the grid lines at the given resolution level.
level | specifiying the resolution level for which the symbol is desired. |
- (void) setLineSymbol: | (AGSSymbol *) | symbol | |
forLevel: | (NSInteger) | level | |
Set the line symbol used for the grid lines at the given resolution level.
symbol | to be used for grid lines |
level | The level specifiying the resolution level for which the symbol is desired. |
- (void) setTextSymbol: | (AGSSymbol *) | symbol | |
forLevel: | (NSInteger) | level | |
Set the text symbol used for the grid text labels at the given resolution level.
symbol | to be used for grid text label |
level | specifiying the resolution level for which the symbol is desired |
- (AGSSymbol*) textSymbolForLevel: | (NSInteger) | level |
Returns the text symbol used for the grid text labels at the given resolution level.
level | specifiying the resolution level for which the symbol is desired. |
|
readwritenonatomicassign |
Specifies the format to use for the grid's text labels.
|
readwritenonatomicassigninherited |
Specifies the grid's text label offset (in screen points) from the edge of the map view.
|
readwritenonatomicassigninherited |
Specifies the positioning of the grid's text labels.
|
readwritenonatomicassigninherited |
Specifies whether the grid's text labels are visible or not.
|
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.
|
readwritenonatomicassigninherited |
Specifies whether the grid is visible or not.