27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSView.h>
29 #import <ArcGIS/AGSImage.h>
30 #import <ArcGIS/AGSViewpoint.h>
31 #import <ArcGIS/AGSCancelable.h>
69 #pragma mark initializers
72 #pragma mark properties
103 @property (nonatomic, assign, readonly, getter=isNavigating) BOOL
navigating;
114 @property (nonatomic, strong, readonly) NSMutableArray<AGSGraphicsOverlay*> *
graphicsOverlays;
125 @property (nullable, nonatomic, weak) IBOutlet id<AGSGeoViewTouchDelegate>
touchDelegate;
205 -(id<
AGSCancelable>)exportImageWithCompletion:(
void(^)(
AGSImage *__nullable image, NSError *__nullable error))completion;
232 screenPoint:(CGPoint)screenPoint
233 tolerance:(
double)tolerance
234 returnPopupsOnly:(BOOL)returnPopupsOnly
235 maximumResults:(NSInteger)maximumResults
248 screenPoint:(CGPoint)screenPoint
249 tolerance:(
double)tolerance
250 returnPopupsOnly:(BOOL)returnPopupsOnly
262 -(id<
AGSCancelable>)identifyGraphicsOverlaysAtScreenPoint:(CGPoint)screenPoint
263 tolerance:(
double)tolerance
264 returnPopupsOnly:(BOOL)returnPopupsOnly
265 maximumResultsPerOverlay:(NSInteger)maximumResultsPerOverlay
276 -(id<
AGSCancelable>)identifyGraphicsOverlaysAtScreenPoint:(CGPoint)screenPoint
277 tolerance:(
double)tolerance
278 returnPopupsOnly:(BOOL)returnPopupsOnly
292 screenPoint:(CGPoint)screenPoint
293 tolerance:(
double)tolerance
294 returnPopupsOnly:(BOOL)returnPopupsOnly
295 maximumResults:(NSInteger)maximumResults
308 screenPoint:(CGPoint)screenPoint
309 tolerance:(
double)tolerance
310 returnPopupsOnly:(BOOL)returnPopupsOnly
322 -(id<
AGSCancelable>)identifyLayersAtScreenPoint:(CGPoint)screenPoint
323 tolerance:(
double)tolerance
324 returnPopupsOnly:(BOOL)returnPopupsOnly
325 maximumResultsPerLayer:(NSInteger)maximumResultsPerLayer
326 completion:(
void(^)(NSArray<
AGSIdentifyLayerResult*> * __nullable identifyResults, NSError * __nullable error))completion;
336 -(id<
AGSCancelable>)identifyLayersAtScreenPoint:(CGPoint)screenPoint
337 tolerance:(
double)tolerance
338 returnPopupsOnly:(BOOL)returnPopupsOnly
339 completion:(
void(^)(NSArray<
AGSIdentifyLayerResult*> * __nullable identifyResults, NSError * __nullable error))completion;
342 #pragma mark Viewpoint methods
366 -(id<
AGSCancelable>)setViewpoint:(
AGSViewpoint*)viewpoint duration:(
double)duration completion:(nullable
void(^)(BOOL finished))completion;
380 #pragma mark Touch Delegate Methods
406 - (void)geoView:(
AGSGeoView *)geoView didTapAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint;
419 -(void)geoView:(
AGSGeoView*)geoView didTouchDownAtScreenPoint:(CGPoint)screenPoint
421 completion:(
void(^)(BOOL willHandleDrag))completion;
431 -(void)geoView:(
AGSGeoView*)geoView didTouchDragToScreenPoint:(CGPoint)screenPoint
441 -(void)geoView:(
AGSGeoView*)geoView didTouchUpAtScreenPoint:(CGPoint)screenPoint
448 -(void)geoViewDidCancelTouchDrag:(
AGSGeoView*)geoView;
450 #pragma mark Double Tap
460 -(void)geoView:(
AGSGeoView*)geoView didDoubleTapAtScreenPoint:(CGPoint)screenPoint
462 completion:(
void(^)(BOOL willHandleDoubleTap))completion;
464 #pragma mark Long Press
474 - (void)geoView:(
AGSGeoView *)geoView didLongPressAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint;
483 - (void)geoView:(
AGSGeoView *)geoView didMoveLongPressToScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint;
492 - (void)geoView:(
AGSGeoView *)geoView didEndLongPressAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint;
500 - (void)geoViewDidCancelLongPress:(
AGSGeoView *)geoView;
502 #pragma mark Force Touch
516 - (void)geoView:(
AGSGeoView *)geoView didForceTouchAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint force:(
double)force;
527 - (void)geoView:(
AGSGeoView *)geoView didChangeForceTouchAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint force:(
double)force;
538 - (void)geoView:(
AGSGeoView *)geoView didEndForceTouchAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint force:(
double)force;
544 - (void)geoViewDidCancelForceTouch:(
AGSGeoView *)geoView;
AGSDrawStatus
Definition: AGSGeoView.h:39
@ AGSDrawStatusCompleted
Definition: AGSGeoView.h:41
@ AGSDrawStatusInProgress
Definition: AGSGeoView.h:40
#define AGSImage
Definition: AGSImage.h:34
#define AGSView
Definition: AGSView.h:32
AGSViewpointType
Definition: AGSViewpoint.h:36
A geographic or time location for quick navigation.
Definition: AGSBookmark.h:37
A callout window.
Definition: AGSCallout.h:69
A base class for all views that can display geographic content on screen.
Definition: AGSGeoView.h:67
BOOL attributionTextVisible
Definition: AGSGeoView.h:90
void(^ layerViewStateChangedHandler)(AGSLayer *layer, AGSLayerViewState *layerViewState)
IBOutlet id< AGSGeoViewTouchDelegate > touchDelegate
Definition: AGSGeoView.h:125
NSLayoutYAxisAnchor * attributionTopAnchor
Definition: AGSGeoView.h:145
AGSCallout * callout
Definition: AGSGeoView.h:119
AGSViewLabelProperties * labeling
Definition: AGSGeoView.h:193
AGSSelectionProperties * selectionProperties
Definition: AGSGeoView.h:180
void(^ viewpointChangedHandler)(void)
AGSDrawStatus drawStatus
Definition: AGSGeoView.h:78
AGSSpatialReference * spatialReference
Definition: AGSGeoView.h:97
AGSTimeExtent * timeExtent
Definition: AGSGeoView.h:160
BOOL navigating
Definition: AGSGeoView.h:103
BOOL wrapAroundEnabled
Definition: AGSGeoView.h:108
NSString * attributionText
Definition: AGSGeoView.h:84
NSMutableArray< AGSGraphicsOverlay * > * graphicsOverlays
Definition: AGSGeoView.h:114
BOOL releaseHardwareResourcesWhenBackgrounded
Definition: AGSGeoView.h:195
A graphic on top of a map.
Definition: AGSGraphic.h:58
An overlay to display graphics on the map.
Definition: AGSGraphicsOverlay.h:82
Results of an identify graphic overlay operation on an AGSGeoView object.
Definition: AGSIdentifyGraphicsOverlayResult.h:43
Results of an identify layer operation on an AGSGeoView object.
Definition: AGSIdentifyLayerResult.h:44
An abstract base class for all layers.
Definition: AGSLayer.h:201
The view state of a layer.
Definition: AGSLayerViewState.h:74
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
Selection properties of an AGSGeoView.
Definition: AGSSelectionProperties.h:40
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49
Represents a span of time between a start time and end time.
Definition: AGSTimeExtent.h:42
Label properties for AGSGeoView.
Definition: AGSViewLabelProperties.h:37
Represents the view location of an AGSMapView or AGSSceneView object.
Definition: AGSViewpoint.h:51
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A touch delegate for AGSGeoView.
Definition: AGSGeoView.h:393