<AGSExportMapImageDelegate> Protocol Reference


Description

A protocol which must be adopted by a class wishing to be notified when AGSDynamicLayer generates a map image dynamically. An instance of the class must then be set as the exportDelegate of AGSDynamicLayer.

Defined in:
AGSDynamicLayer.h (ArcGIS library)
Since:
1.0
Inheritance diagram for <AGSExportMapImageDelegate>:
AGSDynamicLayerView

List of all members.

Public Member Functions

(void) - dynamicLayer:exportMapImageOperation:didFailWithError:
(void) - dynamicLayer:exportMapImageOperation:didFinishWithImage:

Member Function Documentation

- (void) dynamicLayer: (AGSDynamicLayer *)  layer
exportMapImageOperation: (NSOperation< AGSDynamicLayerDrawingOperation > *)  op
didFailWithError: (NSError *)  error 
[optional]

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]

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