10.2.5: AGSMapView.h Source File
10.2.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
AGSMapView.h
1 /*
2  COPYRIGHT 2012 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18 
19 /*@file AGSMapView.h */
20 
21 @class AGSMapViewBase;
22 
61 
62 
63 @end
64 
65 
76 @protocol AGSMapViewLayerDelegate <NSObject>
77 
78 @optional
79 
80 #pragma mark Layer Related Methods
81 
86 - (void)mapViewDidLoad:(AGSMapView *)mapView;
87 
98 - (BOOL)mapView:(AGSMapView *)mapView shouldFindGraphicsInLayer:(AGSGraphicsLayer *)graphicsLayer atPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint ;
99 
109 - (BOOL)mapView:(AGSMapView *)mapView shouldHitTestLayer:(AGSLayer*)layer atPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint;
110 
111 @end
112 
113 
114 
115 
116 
117 
130 @protocol AGSMapViewCalloutDelegate <NSObject>
131 @optional
132 #pragma mark Callout Related Delegate Methods
133 
141 - (BOOL)mapView:(AGSMapView *)mapView shouldShowCalloutForLocationDisplay:(AGSLocationDisplay *)ld ;
142 
149 - (void)mapView:(AGSMapView *)mapView didShowCalloutForLocationDisplay:(AGSLocationDisplay *)ld ;
150 
159 - (BOOL)mapView:(AGSMapView *)mapView shouldShowCalloutForGraphic:(AGSGraphic *)graphic ;
160 
167 - (void)mapView:(AGSMapView *)mapView didShowCalloutForGraphic:(AGSGraphic *)graphic ;
168 
173 -(void)mapViewWillDismissCallout:(AGSMapView*)mapView ;
174 
179 -(void)mapViewDidDismissCallout:(AGSMapView*)mapView ;
180 
181 @end
182 
183 
184 
185 
186 
187 
188 
189 
202 @protocol AGSMapViewTouchDelegate <NSObject>
203 @optional
204 
205 #pragma mark Touch Delegate Methods
206 
215 - (BOOL)mapView:(AGSMapView*)mapView shouldProcessClickAtPoint:(CGPoint)screen mapPoint:(AGSPoint*)mappoint;
216 
225 - (BOOL)mapView:(AGSMapView*)mapView shouldProcessEndTapAndHoldAtPoint:(CGPoint)screen mapPoint:(AGSPoint*)mappoint;
226 
236 - (void)mapView:(AGSMapView *)mapView didClickAtPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint graphics:(NSDictionary *)graphics ;
237 
246 - (void)mapView:(AGSMapView *)mapView didClickAtPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint features:(NSDictionary *)features;
247 
258 - (void)mapView:(AGSMapView *)mapView didTapAndHoldAtPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint graphics:(NSDictionary *)graphics ;
259 
269 - (void)mapView:(AGSMapView *)mapView didTapAndHoldAtPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint features:(NSDictionary *)features;
270 
280 - (void)mapView:(AGSMapView *)mapView didMoveTapAndHoldAtPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint graphics:(NSDictionary *)graphics ;
281 
290 - (void)mapView:(AGSMapView *)mapView didMoveTapAndHoldAtPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint features:(NSDictionary *)features;
291 
301 - (void)mapView:(AGSMapView *)mapView didEndTapAndHoldAtPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint graphics:(NSDictionary *)graphics ;
302 
311 - (void)mapView:(AGSMapView *)mapView didEndTapAndHoldAtPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint features:(NSDictionary *)features;
312 
318 - (void)mapViewDidCancelTapAndHold:(AGSMapView *)mapView;
319 
320 
321 #if (TARGET_OS_MAC && !TARGET_OS_IPHONE)
322 
334 -(BOOL)mapView:(AGSMapView*)mapView didMouseDownAtPoint:(CGPoint)screen mapPoint:(AGSPoint*)mappoint features:(NSDictionary *)features;
335 
339 -(void)mapView:(AGSMapView*)mapView didMouseUpAtPoint:(CGPoint)screen mapPoint:(AGSPoint*)mappoint;
340 
345 -(void)mapView:(AGSMapView*)mapView didMouseDragToPoint:(CGPoint)screen mapPoint:(AGSPoint*)mappoint;
346 
352 -(void)mapView:(AGSMapView *)mapView didMoveMouseToPoint:(CGPoint)screen mapPoint:(AGSPoint*)mappoint;
353 
357 -(void)mapView:(AGSMapView *)mapView didKeyDown:(NSEvent*)event;
358 
362 -(void)mapView:(AGSMapView *)mapView didKeyUp:(NSEvent*)event;
363 
373 -(BOOL)mapView:(AGSMapView *)mapView shouldProcessKeyEquivalentEvent:(NSEvent*)event;
374 
375 #endif
376 
377 @end
A delegate of AGSMapView.
Definition: AGSMapView.h:76
A delegate of AGSMapView.
Definition: AGSMapView.h:202
A layer to display graphics on the map.
Definition: AGSGraphicsLayer.h:72
A delegate of AGSMapView.
Definition: AGSMapView.h:130
A View component to display maps.
Definition: AGSMapView.h:60
A base class for AGSMapView.
Definition: AGSMapViewBase_iOS.h:68
A base class for all layers.
Definition: AGSLayer.h:52
A graphic on the map.
Definition: AGSGraphic.h:58
Provides a location display over an AGSMapView.
Definition: AGSLocationDisplay.h:68
A point object.
Definition: AGSPoint.h:39