ArcGIS Runtime SDK for iOS
100.15
|
Options to configure Map View user interactions.
Instances of this class provide options to configure the user interactions supported by AGSMapView
.
Class Methods | |
(instancetype) | + mapViewInteractionOptions |
Properties | |
BOOL | allowMagnifierToPan |
BOOL | enabled |
BOOL | flickEnabled |
BOOL | magnifierEnabled |
BOOL | panEnabled |
BOOL | rotateEnabled |
double | snapToNorthThreshold |
BOOL | zoomEnabled |
double | zoomFactor |
+ (instancetype) mapViewInteractionOptions |
|
readwritenonatomicassign |
Indicates whether the AGSMapView
should be panned automatically when the magnifier gets near the edge of the AGSMapView
. Default is YES
|
readwritenonatomicassign |
Whether all the user interaction is enabled on the AGSMapView
. Default is YES
|
readwritenonatomicassign |
Whether the user can flick the AGSMapView
with a fast pan gesture. Ignored if panEnabled
is disabled Default is YES
|
readwritenonatomicassign |
Indicates whether a magnifier should be shown on the AGSMapView
when the user performs a long press. Default is YES
|
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
|
readwritenonatomicassign |
Whether the user can rotate the AGSMapView
. Default is YES
|
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
|
readwritenonatomicassign |
Whether the user can zoom in or out on the AGSMapView
. Default is YES
|
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.