AGSTiledLayerView Class Reference
Description
In a Model-View-Controller architecture, this object represents the View. When corresponding Model objects, subclasses of AGSTiledLayer
, are added to the map, this view object is used internally to display maps from the cached map service.
This class extends UIView
and implements the AGSLayerView protocol and the AGSTiledLayerTileDelegate protocol. You can change the transparency of the layer by modifying the alpha
property.
- Defined in:
- AGSTiledLayerView.h ( ArcGIS library)
- Since:
- 1.0
- See also:
- AGSTiledMapServiceLayer
List of all members.
Member Function Documentation
Method to clear the current layer view.
- Since:
- 1.0
- (void) layer: |
|
(AGSLayer *) |
layer |
didFailToLoadWithError: |
|
(NSError *) |
error | |
|
|
| | [optional, inherited] |
Tells the delegate that layer
failed to load with the specified error
.
- Parameters:
-
| layer | The layer that failed to load. |
| error | Information about the cause of the failure. |
- Since:
- 1.0
- (void) layerDataChanged: |
|
(AGSLayer *) |
layer |
|
[optional, inherited] |
Tells the delegate that layer
data has changed. The delegate may decide to refresh the UI.
- Since:
- 1.0
- (void) layerDidLoad: |
|
(AGSLayer *) |
layer |
|
[optional, inherited] |
Tells the delegate that layer
is loaded and ready to use.
- Parameters:
-
| layer | The layer that was loaded. |
- Since:
- 1.0
The layer can call this function on its delegate to find out what the full envelope of the map is.
- Since:
- 1.0
- (void) mapIsPanning: |
|
(AGSLayerViewRequestParams *) |
params |
|
|
Delegate method that is fired when the map starts to pan.
- Parameters:
-
| params | The parameters of the layer view's current request. |
- Since:
- 1.0
- (void) mapIsZooming: |
|
(AGSLayerViewRequestParams *) |
params |
|
|
Delegate method that is fired when the map begins to zoom.
- Parameters:
-
| params | The parameters of the layer view's current request. |
- Since:
- 1.0
- (void) mapPanned: |
|
(AGSLayerViewRequestParams *) |
params |
|
|
Delegate method that is fired when the map has finished panning.
- Parameters:
-
| params | The parameters of the layer view's current request. |
- Since:
- 1.0
- (void) mapTimeExtentChanged: |
|
(AGSLayerViewRequestParams *) |
params |
|
|
Delegate method that is fired when the map's time extent has been changed.
- Parameters:
-
| params | The parameters of the layer view's current request. |
- Since:
- 1.0
- (void) mapZoomed: |
|
(AGSLayerViewRequestParams *) |
params |
|
|
Delegate method that is fired when the map has finished zooming.
- Parameters:
-
| params | The parameters of the layer view's current request. |
- Since:
- 1.0
Tells the delegate a tile was not retrieved.
- Parameters:
-
| layer | The layer retrieving the tile. |
| op | The operation that failed to retrieve tile. |
- Since:
- 1.0
Tells the delegate a tile was successfully retrieved.
- Parameters:
-
| layer | The layer retrieving the tile. |
| op | The operation that retrieved the tile. |
- Since:
- 1.0
Property Documentation
- (AGSLayer*) agsLayer [read, write, retain, inherited] |
Layer being represented.
- Since:
- 1.0
- (BOOL) drawDuringPanning [read, write, assign] |
Flag to determine whether or not the layer should draw while the map is panning.
- Since:
- 1.0
Reimplemented from <AGSLayerView>.
- (BOOL) drawDuringZooming [read, write, assign] |
Flag to determine whether or not the layer should draw while the map is zooming.
- Since:
- 1.0
Reimplemented from <AGSLayerView>.
- (BOOL) enableTileAnimation [read, write, assign] |
Flag to determine whether or not tile animations should be enabled. If enabled, tiles will appear to fade in when they are retrieved.
- Since:
- 1.0
- (NSError*) error [read, retain, inherited] |
Latest error, if any. May be error returned by service or client.
- Since:
- 1.0
- (BOOL) limitMemoryUsage [read, write, assign] |
Flag to limit memory usage. This should be used when targeting older devices such the original iPhone or iPhone 3G.
- Since:
- 1.0
- (AGSMapView*) mapView [read, write, assign, inherited] |
Map view this layer view is contained in.
- Since:
- 1.0
- (NSString*) name [read, write, copy, inherited] |
Name of the view.
- Since:
- 1.0