10.2.5: AGSLOD Class Reference
10.2.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
AGSLOD Class Reference

Description

A cached map service has a number of predefined scale levels (Levels of Detail). AGSLOD corresponds to a given scale level.

Defined in:
AGSLOD.h ( ArcGIS library)

Since
1.0
Inheritance diagram for AGSLOD:
<AGSCoding>

Instance Methods

(void) - decodeWithJSON:
 
(NSDictionary *) - encodeToJSON
 
(id) - initWithJSON:
 
(id) - initWithLevel:resolution:scale:
 

Properties

NSUInteger endTileColumn
 
NSUInteger endTileRow
 
NSUInteger level
 
double resolution
 
double scale
 
NSUInteger startTileColumn
 
NSUInteger startTileRow
 

Method Documentation

- (void) decodeWithJSON: (NSDictionary *)  json
optionalinherited

Decode object from JSON representation.

Parameters
jsonThe JSON representation of the object to be decoded.
Since
1.0
- (NSDictionary *) encodeToJSON
optionalinherited

Encode and return JSON representation for object.

Returns
JSON representation of object.
Since
1.0
- (id) initWithJSON: (NSDictionary *)  json
optionalinherited

Initialize and return object from JSON representation.

Parameters
jsonThe JSON representation of the object to be created.
Returns
Object decoded from JSON representation.
Since
1.0

Reimplemented in AGSWebMapFeatureCollection.

- (id) initWithLevel: (NSUInteger)  level
resolution: (double)  resolution
scale: (double)  scale 

Initializes an AGSLOD object.

Parameters
levelThe level that represents desired level of detail.
resolutionThe resolution of the desired level.
scaleThe scale of the desired level.
Returns
A new AGSLOD object.
Since
1.0

Property Documentation

- (NSUInteger) endTileColumn
readwritenonatomicassign

Ending column index for a tile in the scale level.

Since
1.0
- (NSUInteger) endTileRow
readwritenonatomicassign

Ending row index for a tile in the scale level.

Since
1.0
- (NSUInteger) level
readnonatomicassign

ID for the scale level. The top most level is 0. This level represents the finest level of detail.

Since
1.0
- (double) resolution
readnonatomicassign

Resolution, in map units, of each pixel in a tile for the scale level.

Since
1.0
See also
- convertedResolutionForLodResolution: (AGSTiledLayer) to convert LOD resolution to map resolution.
- zoomToResolution:animated: (AGSMapViewBase)
- (double) scale
readnonatomicassign

Scale for the level.

Since
1.0
See also
- convertedScaleForLodScale: (AGSTiledLayer) to convert LOD scale to map scale.
- zoomToScale:animated: (AGSMapViewBase)
- (NSUInteger) startTileColumn
readwritenonatomicassign

Starting column index for a tile in the scale level.

Since
1.0
- (NSUInteger) startTileRow
readwritenonatomicassign

Starting row index for a tile in the scale level.

Since
1.0