<AGSMapViewLayerDelegate> Protocol Reference
Description
A protocol which must be adopted by a class wishing to be called for layer related actions happening on the map.
All of the methods of this protocol are optional.
- Defined in:
- AGSMapView.h ( ArcGIS library)
- Since:
- 1.8
List of all members.
Member Function Documentation
- (void) mapView: |
|
(AGSMapView *) |
mapView |
didLoadLayerForLayerView: |
|
(UIView< AGSLayerView > *) |
layerView | |
|
|
| | [optional] |
Tells the delegate a layer that was added to the map was loaded.
- Parameters:
-
| mapView | Map to which layer has been added. |
| layerView | Layer view that was added to map |
- Since:
- 1.8
- (void) mapView: |
|
(AGSMapView *) |
mapView |
failedLoadingLayerForLayerView: |
|
(UIView< AGSLayerView > *) |
layerView |
withError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate a layer that was added to the map could not be loaded.
- Parameters:
-
| mapView | Map to which layer had to be added. |
| layerView | Layer view that failed to be added. |
| error | Error describing reason for failure. |
- Since:
- 1.8
- (void) mapView: |
|
(AGSMapView *) |
mapView |
failedLoadingWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate the map failed to load.
- Parameters:
-
| mapView | The map that failed to load. |
| error | Error describing reason for failure. |
- Since:
- 1.8
- (BOOL) mapView: |
|
(AGSMapView *) |
mapView |
shouldFindGraphicsInLayer: |
|
(AGSGraphicsLayer *) |
graphicsLayer |
atPoint: |
|
(CGPoint) |
screen |
mapPoint: |
|
(AGSPoint *) |
mappoint | |
|
|
| | [optional] |
Asks delegate whether to find which graphics in the specified layer intersect the tapped location. Default is YES
.
- Parameters:
-
| mapView | Map containing callout to be shown. |
| graphicsLayer | Graphics layer in which to find graphics. |
| screen | Location in screen coordinates. |
| mappoint | Map point. |
- Since:
- 1.8
- (void) mapViewDidLoad: |
|
(AGSMapView *) |
mapView |
|
[optional] |
Tells the delegate the map is loaded and ready for use.
- Parameters:
-
| mapView | The map that has loaded. |
- Since:
- 1.8