10.2.5: <AGSMapViewLayerDelegate> Protocol Reference
10.2.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
<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
Inheritance diagram for <AGSMapViewLayerDelegate>:

Instance Methods

(BOOL) - mapView:shouldFindGraphicsInLayer:atPoint:mapPoint:
 
(BOOL) - mapView:shouldHitTestLayer:atPoint:mapPoint:
 
(void) - mapViewDidLoad:
 

Method Documentation

- (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. This function may or may not be called on the main thread.

Parameters
mapViewMap containing callout to be shown.
graphicsLayerGraphics layer in which to find graphics.
screenLocation in screen coordinates.
mappointMap point.
Deprecated:
Deprecated at 10.2. Use mapView:shouldHitTestLayer:atPoint:mapPoint:
Since
1.8
- (BOOL) mapView: (AGSMapView *)  mapView
shouldHitTestLayer: (AGSLayer *)  layer
atPoint: (CGPoint)  screen
mapPoint: (AGSPoint *)  mappoint 
optional

Asks delegate whether to find which features in the specified layer intersect the tapped location. Default is YES. This function may or may not be called on the main thread.

Parameters
mapViewMap containing callout to be shown.
layerLayer in which to find features.
screenLocation in screen coordinates.
mappointMap point.
Since
10.2
- (void) mapViewDidLoad: (AGSMapView *)  mapView
optional

Tells the delegate the map is loaded and ready for use. Fires when the map's base layer loads.

Parameters
mapViewThe map that has loaded.
Since
1.8