21 #import <ArcGIS/AGSView.h> 22 #import <ArcGIS/AGSImage.h> 23 #import <ArcGIS/AGSViewpoint.h> 64 #pragma mark initializers 67 #pragma mark properties 94 @property (nonatomic, assign, readonly, getter=isNavigating) BOOL
navigating;
105 @property (nonatomic, strong, readonly) NSMutableArray<AGSGraphicsOverlay*> *
graphicsOverlays;
116 @property (nullable, nonatomic, weak) IBOutlet id<AGSGeoViewTouchDelegate>
touchDelegate;
154 #if (TARGET_OS_IPHONE) 155 #pragma mark - iOS Specific API 160 #pragma mark - Mac OSX Specific API 167 @property (nonatomic, assign) BOOL trackCursorMovement;
178 -(id<
AGSCancelable>)exportImageWithCompletion:(
void(^)(AGSImage *__nullable image, NSError *__nullable error))completion;
205 screenPoint:(CGPoint)screenPoint
206 tolerance:(
double)tolerance
207 returnPopupsOnly:(BOOL)returnPopupsOnly
208 maximumResults:(NSInteger)maximumResults
221 screenPoint:(CGPoint)screenPoint
222 tolerance:(
double)tolerance
223 returnPopupsOnly:(BOOL)returnPopupsOnly
235 -(id<
AGSCancelable>)identifyGraphicsOverlaysAtScreenPoint:(CGPoint)screenPoint
236 tolerance:(
double)tolerance
237 returnPopupsOnly:(BOOL)returnPopupsOnly
238 maximumResultsPerOverlay:(NSInteger)maximumResultsPerOverlay
249 -(id<
AGSCancelable>)identifyGraphicsOverlaysAtScreenPoint:(CGPoint)screenPoint
250 tolerance:(
double)tolerance
251 returnPopupsOnly:(BOOL)returnPopupsOnly
265 screenPoint:(CGPoint)screenPoint
266 tolerance:(
double)tolerance
267 returnPopupsOnly:(BOOL)returnPopupsOnly
268 maximumResults:(NSInteger)maximumResults
281 screenPoint:(CGPoint)screenPoint
282 tolerance:(
double)tolerance
283 returnPopupsOnly:(BOOL)returnPopupsOnly
295 -(id<
AGSCancelable>)identifyLayersAtScreenPoint:(CGPoint)screenPoint
296 tolerance:(
double)tolerance
297 returnPopupsOnly:(BOOL)returnPopupsOnly
298 maximumResultsPerLayer:(NSInteger)maximumResultsPerLayer
299 completion:(
void(^)(NSArray<
AGSIdentifyLayerResult*> * __nullable identifyResults, NSError * __nullable error))completion;
309 -(id<
AGSCancelable>)identifyLayersAtScreenPoint:(CGPoint)screenPoint
310 tolerance:(
double)tolerance
311 returnPopupsOnly:(BOOL)returnPopupsOnly
312 completion:(
void(^)(NSArray<
AGSIdentifyLayerResult*> * __nullable identifyResults, NSError * __nullable error))completion;
315 #pragma mark Viewpoint methods 339 -(id<
AGSCancelable>)setViewpoint:(
AGSViewpoint*)viewpoint duration:(
double)duration completion:(nullable
void(^)(BOOL finished))completion;
353 #pragma mark Touch Delegate Methods 380 - (void)geoView:(
AGSGeoView *)geoView didTapAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint;
393 -(void)geoView:(
AGSGeoView*)geoView didTouchDownAtScreenPoint:(CGPoint)screenPoint
395 completion:(
void(^)(BOOL willHandleDrag))completion;
405 -(void)geoView:(
AGSGeoView*)geoView didTouchDragToScreenPoint:(CGPoint)screenPoint
415 -(void)geoView:(
AGSGeoView*)geoView didTouchUpAtScreenPoint:(CGPoint)screenPoint
422 -(void)geoViewDidCancelTouchDrag:(
AGSGeoView*)geoView;
424 #pragma mark Double Tap 434 -(void)geoView:(
AGSGeoView*)geoView didDoubleTapAtScreenPoint:(CGPoint)screenPoint
436 completion:(
void(^)(BOOL willHandleDoubleTap))completion;
438 #pragma mark Long Press 448 - (void)geoView:(
AGSGeoView *)geoView didLongPressAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint;
457 - (void)geoView:(
AGSGeoView *)geoView didMoveLongPressToScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint;
466 - (void)geoView:(
AGSGeoView *)geoView didEndLongPressAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint;
474 - (void)geoViewDidCancelLongPress:(
AGSGeoView *)geoView;
476 #ifdef TARGET_OS_IPHONE 478 #pragma mark Force Touch 492 - (void)geoView:(
AGSGeoView *)geoView didForceTouchAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint force:(
double)force;
503 - (void)geoView:(
AGSGeoView *)geoView didChangeForceTouchAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint force:(
double)force;
514 - (void)geoView:(
AGSGeoView *)geoView didEndForceTouchAtScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint *)mapPoint force:(
double)force;
520 - (void)geoViewDidCancelForceTouch:(
AGSGeoView *)geoView;
526 #pragma mark macOS specific delegate methods 537 -(void)geoView:(
AGSGeoView *)geoView didMoveCursorToScreenPoint:(CGPoint)screenPoint mapPoint:(
AGSPoint*)mapPoint;
543 -(void)geoView:(
AGSGeoView *)geoView didKeyDown:(NSEvent*)event;
549 -(void)geoView:(
AGSGeoView *)geoView didKeyUp:(NSEvent*)event;
559 -(BOOL)geoView:(
AGSGeoView *)geoView shouldProcessKeyEquivalentEvent:(NSEvent*)event;
A touch delegate for AGSGeoView.
Definition: AGSGeoView.h:367
Selection properties of an AGSGeoView.
Definition: AGSSelectionProperties.h:32
Results of an identify layer operation on AGSGeoView.
Definition: AGSIdentifyLayerResult.h:36
BOOL attributionTextVisible
Definition: AGSGeoView.h:83
Represents a span of time between a start time and end time.
Definition: AGSTimeExtent.h:32
AGSDrawStatus drawStatus
Definition: AGSGeoView.h:72
AGSSelectionProperties * selectionProperties
Definition: AGSGeoView.h:152
The view state of a layer.
Definition: AGSLayerViewState.h:66
NSLayoutYAxisAnchor * attributionTopAnchor
Definition: AGSGeoView.h:136
A bookmark in a map.
Definition: AGSBookmark.h:30
BOOL releaseHardwareResourcesWhenBackgrounded
Definition: AGSGeoView.h:156
NSMutableArray< AGSGraphicsOverlay * > * graphicsOverlays
Definition: AGSGeoView.h:105
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
Definition: AGSGeoView.h:32
AGSTimeExtent * timeExtent
Definition: AGSGeoView.h:150
AGSDrawStatus
Definition: AGSGeoView.h:31
A base class for all views that can display geographic content on screen.
Definition: AGSGeoView.h:61
Represents the view location of AGSMapView or AGSSceneView.
Definition: AGSViewpoint.h:49
AGSViewpointType
Definition: AGSViewpoint.h:30
IBOutlet id< AGSGeoViewTouchDelegate > touchDelegate
Definition: AGSGeoView.h:116
NSString * attributionText
Definition: AGSGeoView.h:77
BOOL navigating
Definition: AGSGeoView.h:94
void(^ layerViewStateChangedHandler)(AGSLayer *layer, AGSLayerViewState *layerViewState)
An abstract representation of geographic entities on a map.
Definition: AGSGeoElement.h:37
An abstract base class for all layers.
Definition: AGSLayer.h:169
AGSCallout * callout
Definition: AGSGeoView.h:110
A graphic on top of a map.
Definition: AGSGraphic.h:51
void(^ viewpointChangedHandler)(void)
AGSSpatialReference * spatialReference
Definition: AGSGeoView.h:89
A callout window.
Definition: AGSCallout.h:68
BOOL wrapAroundEnabled
Definition: AGSGeoView.h:99
An overlay to display graphics on the map.
Definition: AGSGraphicsOverlay.h:62
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57
Results of an identify graphic overlay operation on AGSGeoView.
Definition: AGSIdentifyGraphicsOverlayResult.h:35
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:32
Definition: AGSGeoView.h:33