MapViewInteractionOptions

data class MapViewInteractionOptions(    var isEnabled: Boolean = true,     var zoomFactor: Double = 2.0,     var isFlingEnabled: Boolean = true,     var isPanEnabled: Boolean = true,     var isZoomEnabled: Boolean = true,     var isRotateEnabled: Boolean = true,     var snapToNorthThreshold: Double = 7.5,     var isMagnifierEnabled: Boolean = false,     var allowMagnifierToPan: Boolean = true) : InteractionOptions

A class containing the state of the MapView interaction options.

Since

200.0.0

Constructors

Link copied to clipboard
constructor(    isEnabled: Boolean = true,     zoomFactor: Double = 2.0,     isFlingEnabled: Boolean = true,     isPanEnabled: Boolean = true,     isZoomEnabled: Boolean = true,     isRotateEnabled: Boolean = true,     snapToNorthThreshold: Double = 7.5,     isMagnifierEnabled: Boolean = false,     allowMagnifierToPan: Boolean = true)

Properties

Link copied to clipboard

: Whether the magnifier can pan the map when it touches the edge of the MapView. True by default

Link copied to clipboard
open override var isEnabled: Boolean

: Whether interactions are enabled

Link copied to clipboard
open override var isFlingEnabled: Boolean

: Whether flinging is enabled

Link copied to clipboard

: Whether magnifier is enabled for the MapView. The magnifier is shown when you do a long-press on the MapView. False by default

Link copied to clipboard
open override var isPanEnabled: Boolean

: Whether panning is enabled.

Link copied to clipboard
open override var isRotateEnabled: Boolean

: Whether rotating is enabled.

Link copied to clipboard
open override var isZoomEnabled: Boolean

: Whether zooming is enabled.

Link copied to clipboard

: Degrees above or below zero below which the MapView's orientation will be set to exactly 0. Must be between 0 and 180 (inclusive). 7.5 by default

Link copied to clipboard
open override var zoomFactor: Double

: Multiplier by which the GeoView is zoomed. Must be above 0