<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.

Public Member Functions

(NSString *) - bingAppId
(void) - didFailToLoadLayer:withError:
(void) - didLoadLayer:
(void) - didOpenWebMap:intoMapView:

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
- (void) didOpenWebMap: (AGSWebMap *)  webMap
intoMapView: (AGSMapView *)  mapView 
[optional]

Called when a webmap is done opening into an AGSMapView.

Since:
1.8