MTDragPanGesture
@MainActor
public struct MTDragPanGesture : MTGesture
Handles panning the map by dragging.
-
Type of the gesture.
Declaration
Swift
@MainActor public var type: MTGestureType
-
disable()
AsynchronousDisables the gesture on the map.
Declaration
Swift
@MainActor public func disable() async
-
enable()
AsynchronousEnables the gesture on the map.
Declaration
Swift
@MainActor public func enable() async
-
enable(with:
Asynchronous) Enables the gesture on the map with options.
Declaration
Swift
@MainActor public func enable(with options: MTDragPanOptions) async
Parameters
options
Drag and pan options.