GestureManager
Class for managing gesture processing.
ru.dgis.sdk.NativeObject
fun setSettingsAboutMapPositionPoint(settings: EventsProcessingSettings): Unit
Setting the point relative to which the scaling and rotation takes place.
settings
EventsProcessingSettings
event handling settings.
When the function is called, gesture recognition tools are recreated.
fun setMutuallyExclusiveGestures(rules: List<EnumSet<Gesture>>): Unit
Sets a list of rules to exclude simultaneous triggering of multiple gestures.
The list of rules passed in is supplemented with default rules that prevent a tilt gesture from triggering simultaneously with other gestures. Each rule is a list of gestures that cannot trigger at the same time For example , if the Scaling and Rotation gestures are specified in the rule, then these gestures will not work simultaneously In case of simultaneous execution of gestures from the rule, a gesture with a higher priority will work Gesture priority order (descending order): (Shift ->) Tilt -> Scaling -> Rotation -> MultiTouchShift
var enabledGestures
var scalingSettings
var rotationSettings
var multi-touchShiftSettings
var tiltSettings