<AGSLayerView> Protocol Reference


Description

This protocol must be adopted by all classes which wish to display map layers for AGSMapView.

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

List of all members.

Public Member Functions

(void) - clear
(void) - layer:didFailToLoadWithError:
(void) - layerDataChanged:
(void) - layerDidLoad:
(AGSEnvelope *) - mapFullEnvelope
(void) - mapIsPanning:
(void) - mapIsZooming:
(void) - mapPanned:
(void) - mapTimeExtentChanged:
(void) - mapZoomed:

Properties

AGSLayeragsLayer
BOOL drawDuringPanning
BOOL drawDuringZooming
NSError * error
AGSMapViewmapView
NSString * name

Member Function Documentation

- (void) clear  

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
- (AGSEnvelope*) mapFullEnvelope   [required, inherited]

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

Property Documentation

- (AGSLayer*) agsLayer [read, write, retain]

Layer being represented.

Since:
1.0
- (BOOL) drawDuringPanning [read, write, assign]

Property to determine whether or not we should draw while the map is panning.

Since:
1.0

Reimplemented in AGSDynamicLayerView, and AGSTiledLayerView.

- (BOOL) drawDuringZooming [read, write, assign]

Property to determine whether or not we should draw while the map is zooming.

Since:
1.0

Reimplemented in AGSDynamicLayerView, and AGSTiledLayerView.

- (NSError*) error [read, retain]

Latest error, if any. May be error returned by service or client.

Since:
1.0
- (AGSMapView*) mapView [read, write, assign]

Map view this layer view is contained in.

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

Name of the view.

Since:
1.0