This protocol must be adopted by all classes which wish to display map layers for AGSMapView
.
Public Member Functions | |
(void) | - clear |
(void) | - layer:didFailToLoadWithError: |
(void) | - layerDataChanged: |
(void) | - layerDidLoad: |
(AGSEnvelope *) | - mapFullEnvelope |
Properties | |
AGSLayer * | agsLayer |
BOOL | drawDuringPanning |
BOOL | drawDuringZooming |
NSError * | error |
AGSMapView * | mapView |
NSString * | name |
- (void) clear |
Method to clear the current layer view.
- (void) layer: | (AGSLayer *) | layer | ||
didFailToLoadWithError: | (NSError *) | error | ||
[optional, inherited] |
Tells the delegate that layer
failed to load with the specified error
.
layer | The layer that failed to load. | |
error | Information about the cause of the failure. |
- (void) layerDataChanged: | (AGSLayer *) | layer | [optional, inherited] |
Tells the delegate that layer
data has changed. The delegate may decide to refresh the UI.
- (void) layerDidLoad: | (AGSLayer *) | layer | [optional, inherited] |
Tells the delegate that layer
is loaded and ready to use.
layer | The layer that was loaded. |
- (AGSEnvelope*) mapFullEnvelope | [required, inherited] |
The layer can call this function on its delegate to find out what the full envelope of the map is.
- (AGSLayer*) agsLayer [read, write, retain] |
Layer being represented.
- (BOOL) drawDuringPanning [read, write, assign] |
Property to determine whether or not we should draw while the map is panning.
Reimplemented in AGSDynamicLayerView, and AGSTiledLayerView.
- (BOOL) drawDuringZooming [read, write, assign] |
Property to determine whether or not we should draw while the map is zooming.
Reimplemented in AGSDynamicLayerView, and AGSTiledLayerView.
- (NSError*) error [read, retain] |
Latest error, if any. May be error returned by service or client.
- (AGSMapView*) mapView [read, write, assign] |
Map view this layer view is contained in.
- (NSString*) name [read, write, copy] |
Name of the view.