ArcGIS Runtime SDK for iOS: AGSMapViewInteractionOptions.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSMapViewInteractionOptions.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24 
25 #import <Foundation/Foundation.h>
26  //Required for Globals API doc
28 
35 @interface AGSMapViewInteractionOptions : NSObject
36 
37 #pragma mark -
38 #pragma mark initializers
39 
40 +(instancetype)mapViewInteractionOptions;
41 
42 #pragma mark -
43 #pragma mark properties
44 
49 @property (nonatomic, assign, readwrite, getter=isEnabled) BOOL enabled;
50 
55 @property (nonatomic, assign, readwrite, getter=isRotateEnabled) BOOL rotateEnabled;
56 
63 @property (nonatomic, assign, readwrite, getter=isPanEnabled) BOOL panEnabled;
64 
69 @property (nonatomic, assign, readwrite, getter=isZoomEnabled) BOOL zoomEnabled;
70 
74 @property (nonatomic, assign, readwrite, getter=isMagnifierEnabled) BOOL magnifierEnabled;
75 
81 @property (nonatomic, assign, readwrite, getter=isFlickEnabled) BOOL flickEnabled;
82 
87 @property (nonatomic, assign, readwrite) BOOL allowMagnifierToPan;
88 
93 @property (nonatomic, assign, readwrite) double zoomFactor;
94 
99 @property (nonatomic, assign, readwrite) double snapToNorthThreshold;
100 
101 #pragma mark -
102 #pragma mark methods
103 
104 @end
Options to configure Map View user interactions.
Definition: AGSMapViewInteractionOptions.h:36
BOOL rotateEnabled
Definition: AGSMapViewInteractionOptions.h:55
double zoomFactor
Definition: AGSMapViewInteractionOptions.h:93
BOOL allowMagnifierToPan
Definition: AGSMapViewInteractionOptions.h:87
BOOL flickEnabled
Definition: AGSMapViewInteractionOptions.h:81
BOOL enabled
Definition: AGSMapViewInteractionOptions.h:49
instancetype mapViewInteractionOptions()
BOOL panEnabled
Definition: AGSMapViewInteractionOptions.h:63
BOOL magnifierEnabled
Definition: AGSMapViewInteractionOptions.h:74
BOOL zoomEnabled
Definition: AGSMapViewInteractionOptions.h:69
double snapToNorthThreshold
Definition: AGSMapViewInteractionOptions.h:99