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

Description

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 magnifierEnabled
 
BOOL panEnabled
 
BOOL rotateEnabled
 
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

§ 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

§ 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