<AGSWebMapDelegate> Protocol Reference
Description
A protocol which must be adopted by a class wishing to serve as a delegate for AGSWebMap
. AGSWebMap
informs the delegate of events and consults the delegate before taking some action.
All of the methods of this protocol are optional.
- Since:
- 1.8
List of all members.
Member Function Documentation
- (NSString*) bingAppId |
|
|
|
[optional] |
Called when the webmap needs to open a Bing layer.
- Since:
- 1.8
- (void) didFailToLoadLayer: |
|
(NSString *) |
layerTitle |
withError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Called when a layer fails to load. The delegate can either skip loading the layer using continueOpenAndSkipCurrentLayer
method or retry loading it with credentials using continueOpenWithCredential:
method on AGSWebMap
- Since:
- 1.8
- (void) didLoadLayer: |
|
(AGSLayer *) |
layer |
|
[optional] |
Called when a layer loads.
- Since:
- 1.8
Called when a webmap is done opening into an AGSMapView.
- Since:
- 1.8
- (void) webMap: |
|
(AGSWebMap *) |
webMap |
didFailToLoadWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that the specified error
was encountered while tyring to retrieve the webmap's data.
- Parameters:
-
| webMap | The webmap that failed to load. |
| error | Information about the cause of the failure. |
- Since:
- 2.0
- (void) webMapDidLoad: |
|
(AGSWebMap *) |
webMap |
|
[optional] |
Tells the delegate that the webmap data was retrieved successfully.
- Parameters:
-
| webMap | The webmap that was loaded. |
- Since:
- 2.0