kvision / pl.treksoft.kvision.maps / MapOption

MapOption

(js) data class MapOption

Constructors

(js)

<init>

MapOption(attributionControl: Boolean = true, boxZoom: Boolean = true, center: LatLng? = null, closePopupOnClick: Boolean = true, crs: ICRS = ICRS("L.CRS.EPSG3857"), doubleClickZoom: Boolean = true, dragging: Boolean = true, fadeAnimation: Boolean?, inertia: Boolean = true, inertiaDeceleration: Number = 3000, inertiaMaxSpeed: Number = 1500, inertiaThreshold: Number = 14, keyboard: Boolean = true, keyboardPanOffset: Number = 80, keyboardZoomOffset: Number = 1, layers: Array<ILayer>? = null, markerZoomAnimation: Boolean? = null, maxBounds: LatLngBounds? = null, maxZoom: Number? = null, minZoom: Number? = null, scrollWheelZoom: Boolean = true, tap: Boolean = true, tapTolerance: Number = 15, touchZoom: Boolean = true, trackResize: Boolean = true, worldCopyJump: Boolean = false, zoom: Number? = null, zoomAnimation: Number? = null, zoomAnimationThreshold: Number = 4, zoomControl: Boolean = true)

Properties

(js)

attributionControl

val attributionControl: Boolean
(js)

boxZoom

val boxZoom: Boolean
(js)

center

val center: LatLng?
(js)

closePopupOnClick

val closePopupOnClick: Boolean
(js)

crs

val crs: ICRS
(js)

doubleClickZoom

val doubleClickZoom: Boolean
(js)

dragging

val dragging: Boolean
(js)

fadeAnimation

val fadeAnimation: Boolean?
(js)

inertia

val inertia: Boolean
(js)

inertiaDeceleration

val inertiaDeceleration: Number
(js)

inertiaMaxSpeed

val inertiaMaxSpeed: Number
(js)

inertiaThreshold

val inertiaThreshold: Number
(js)

keyboard

val keyboard: Boolean
(js)

keyboardPanOffset

val keyboardPanOffset: Number
(js)

keyboardZoomOffset

val keyboardZoomOffset: Number
(js)

layers

val layers: Array<ILayer>?
(js)

markerZoomAnimation

val markerZoomAnimation: Boolean?
(js)

maxBounds

val maxBounds: LatLngBounds?
(js)

maxZoom

val maxZoom: Number?
(js)

minZoom

val minZoom: Number?
(js)

scrollWheelZoom

val scrollWheelZoom: Boolean
(js)

tap

val tap: Boolean
(js)

tapTolerance

val tapTolerance: Number
(js)

touchZoom

val touchZoom: Boolean
(js)

trackResize

val trackResize: Boolean
(js)

worldCopyJump

val worldCopyJump: Boolean
(js)

zoom

val zoom: Number?
(js)

zoomAnimation

val zoomAnimation: Number?
(js)

zoomAnimationThreshold

val zoomAnimationThreshold: Number
(js)

zoomControl

val zoomControl: Boolean

Functions

(js)

equals

fun equals(other: Any?): Boolean
(js)

hashCode

fun hashCode(): Int