<AGSLayerDelegate> Protocol Reference


Description

A protocol which must be adopted by a class wishing to serve as a delegate for AGSLayer. AGSLayer notifies the delegate whenever the layer is loaded or fails to load. Developers can listen to these events by attaching their delegate to the AGSLayer.

Defined in:
AGSLayerDelegate.h (ArcGIS library)
Since:
1.0
Inheritance diagram for <AGSLayerDelegate>:
<AGSLayerView> AGSDynamicLayerView AGSTiledLayerView

List of all members.

Public Member Functions

(void) - layer:didFailToLoadWithError:
(void) - layerDataChanged:
(void) - layerDidLoad:
(AGSEnvelope *) - mapFullEnvelope

Member Function Documentation

- (void) layer: (AGSLayer *)  layer
didFailToLoadWithError: (NSError *)  error 
[optional]

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]

Tells the delegate that layer data has changed. The delegate may decide to refresh the UI.

Since:
1.0
- (void) layerDidLoad: (AGSLayer *)  layer   [optional]

Tells the delegate that layer is loaded and ready to use.

Parameters:
layer The layer that was loaded.
Since:
1.0
- (AGSEnvelope*) mapFullEnvelope   [required]

The layer can call this function on its delegate to find out what the full envelope of the map is.

Since:
1.0