AGSTile Class Reference


Description

Instances of this class represent a single cached tile of the cached map. The tile contains a level, row, and column that represent some distinct location within the map. The tile also contains the image for the specified location within the cached map.

Defined in:
AGSTile.h ( ArcGIS library)
Since:
1.0

List of all members.

Public Member Functions

(id) - initWithLevel:row:column:envelope:frame:
(id) - initWithLevel:row:column:envelope:frame:name:

Static Public Member Functions

(NSString *) + nameForLayerAtLevel:row:column:
(id) + tileWithLevel:row:column:envelope:frame:
(id) + tileWithLevel:row:column:envelope:frame:name:

Properties

int column
AGSEnvelopeenvelope
NSError * error
CGRect frame
UIImage * image
int level
NSString * name
int row

Member Function Documentation

- (id) initWithLevel: (int)  level
row: (int)  row
column: (int)  column
envelope: (AGSEnvelope *)  envelope 

Initializes a tile with the specified level, row, column, envelope, and frame.

Parameters:
level The level in which this tile is from.
row The row in which this tile represents.
column The column in which this tile represents.
envelope The envelope of the tile in map units.
frame The frame of the tile in screen units.
Returns:
An initialized AGSTile object.
Since:
1.0
Deprecated:
Deprecated at 1.8. Use initWithLevel:row:column:envelope:frame:name: instead.
- (id) initWithLevel: (int)  level
row: (int)  row
column: (int)  column
envelope: (AGSEnvelope *)  envelope
frame: (CGRect)  frame
name: (NSString *)  name 

Initializes a tile with the specified level, row, column, envelope, and frame.

Parameters:
level The level in which this tile is from.
row The row in which this tile represents.
column The column in which this tile represents.
envelope The envelope of the tile in map units.
frame The frame of the tile in screen units.
name The unique name of the tile.
Returns:
An initialized AGSTile object.
Since:
1.8
+ (NSString *) nameForLayerAtLevel: (int)  level
row: (int)  row
column: (int)  column 

Returns the name for the tile.

Parameters:
level The level at which the tile is located.
row The row at which the tile is located.
column The column at which the tile is located.
Returns:
The name of the tile given the level, row, and column.
Since:
1.0
+ (id) tileWithLevel: (int)  level
row: (int)  row
column: (int)  column
envelope: (AGSEnvelope *)  envelope 

Initializes a tile with the specified level, row, column, envelope, and frame.

Parameters:
level The level in which this tile is from.
row The row in which this tile represents.
column The column in which this tile represents.
envelope The envelope of the tile in map units.
frame The frame of the tile in screen units.
Returns:
A new, autoreleased, AGSTile object.
Since:
1.0
Deprecated:
Deprecated at 1.8. Use tileWithLevel:row:column:envelope:frame:name: instead.
+ (id) tileWithLevel: (int)  level
row: (int)  row
column: (int)  column
envelope: (AGSEnvelope *)  envelope
frame: (CGRect)  frame
name: (NSString *)  name 

Initializes a tile with the specified level, row, column, envelope, and frame.

Parameters:
level The level in which this tile is from.
row The row in which this tile represents.
column The column in which this tile represents.
envelope The envelope of the tile in map units.
frame The frame of the tile in screen units.
name The unique name of the tile.
Returns:
A new, autoreleased, AGSTile object.
Since:
1.8

Property Documentation

- (int) column [read, write, assign]

The column at which the tile represents.

Since:
1.0
- (AGSEnvelope*) envelope [read, write, retain]

Represents the frame of the tile in map units.

Since:
1.0
- (NSError*) error [read, write, retain]

The error associated with the tile's retrieval.

Since:
1.0
- (CGRect) frame [read, write, assign]

Represents the frame of the tile in screen units.

Since:
1.0
- (UIImage*) image [read, write, retain]

The image associated with the tile at the given level, row, and column.

Since:
1.0
- (int) level [read, write, assign]

The level of detail of the specified tile.

Since:
1.0
- (NSString*) name [read, write, retain]

The name for the tile in the format "level/row/column".

Since:
1.0
- (int) row [read, write, assign]

The row at which the tile represents.

Since:
1.0