AGSDynamicLayerView Class Reference


Description

In a Model-View-Controller architecture, this object represents the View. When corresponding Model objects, subclasses of AGSDynamicLayer, are added to the map, this view object is used internally display maps from the dynamic map service.

This class extends UIImageView. You can change the transparency of the layer by modifying the alpha property.

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

List of all members.

Public Member Functions

(void) - clear
(void) - dynamicLayer:exportMapImageOperation:didFailWithError:
(void) - dynamicLayer:exportMapImageOperation:didFinishWithImage:
(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) dynamicLayer: (AGSDynamicLayer *)  layer
exportMapImageOperation: (NSOperation< AGSDynamicLayerDrawingOperation > *)  op
didFailWithError: (NSError *)  error 
[optional, inherited]

Tells the delegate the map image could not be exported.

Parameters:
layer The layer that was to export the map image.
op NSOperation that executed the export.
error Information about the error returned by the operation.
Since:
1.0
- (void) dynamicLayer: (AGSDynamicLayer *)  layer
exportMapImageOperation: (NSOperation< AGSDynamicLayerDrawingOperation > *)  op
didFinishWithImage: (UIImage *)  image 
[required, inherited]

Tells the delegate the map image was successfully exported.

Parameters:
layer The layer which exported the map image.
op NSOperation that executed the export.
image The exported image.
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, inherited]

Layer being represented.

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

Flag to determine whether or not drawing should occur while panning.

Since:
1.0

Reimplemented from <AGSLayerView>.

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

Flag to determine whether or not drawing should occur while zooming.

Since:
1.0

Reimplemented from <AGSLayerView>.

- (NSError*) error [read, retain, inherited]

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

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