ArcGIS Runtime SDK for iOS: AGSMapViewInteractionOptions Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSMapViewInteractionOptions Class Reference

Description

Options to configure Map View user interactions.

Instances of this class provide options to configure the user interactions supported by AGSMapView.

Since
100
Inheritance diagram for AGSMapViewInteractionOptions:

Class Methods

(instancetype) + mapViewInteractionOptions
 

Properties

BOOL allowMagnifierToPan
 
BOOL enabled
 
BOOL flickEnabled
 
BOOL magnifierEnabled
 
BOOL panEnabled
 
BOOL rotateEnabled
 
double snapToNorthThreshold
 
BOOL zoomEnabled
 
double zoomFactor
 

Method Documentation

◆ mapViewInteractionOptions

+ (instancetype) mapViewInteractionOptions

Property Documentation

◆ allowMagnifierToPan

- (BOOL) allowMagnifierToPan
readwritenonatomicassign

Indicates whether the AGSMapView should be panned automatically when the magnifier gets near the edge of the AGSMapView. Default is YES

Since
100

◆ enabled

- (BOOL) enabled
readwritenonatomicassign

Whether all the user interaction is enabled on the AGSMapView. Default is YES

Since
100

◆ flickEnabled

- (BOOL) flickEnabled
readwritenonatomicassign

Whether the user can flick the AGSMapView with a fast pan gesture. Ignored if panEnabled is disabled Default is YES

Since
100.6

◆ magnifierEnabled

- (BOOL) magnifierEnabled
readwritenonatomicassign

Indicates whether a magnifier should be shown on the AGSMapView when the user performs a long press. Default is YES

◆ panEnabled

- (BOOL) panEnabled
readwritenonatomicassign

Whether the user can pan the AGSMapView. If this is disabled then zooming will zoom to center instead of any anchor point. Also when diabled this will prevent the magnifier panning the AGSMapView regardless of what allowMagnifierToPan is set to. Default is YES

Since
100

◆ rotateEnabled

- (BOOL) rotateEnabled
readwritenonatomicassign

Whether the user can rotate the AGSMapView. Default is YES

Since
100

◆ snapToNorthThreshold

- (double) snapToNorthThreshold
readwritenonatomicassign

Threshold angle to snap to north while rotating. Angle is with respect of either side of north, and can be up to 30 degrees. Set 0 to disable. Ignored if rotation is disabled. Default is 12.0

Since
100.6

◆ zoomEnabled

- (BOOL) zoomEnabled
readwritenonatomicassign

Whether the user can zoom in or out on the AGSMapView. Default is YES

Since
100

◆ zoomFactor

- (double) zoomFactor
readwritenonatomicassign

Zoom factor for animated zooming in and out. Default is 2.0. Values less than or equal to 1.0 are not supported and will be ignored.

Since
100.3