kvision / pl.treksoft.kvision.maps / Maps / <init>

<init>

(js) Maps(lat: Number, lng: Number, zoom: Number, showMarker: Boolean = false, baseLayerProvider: BaseLayerProvider, crs: CRS, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null)

Parameters

lat - initial latitude value

lng - initial longitude value

zoom - initial zoom

showMarker - show marker in the initial position

baseLayerProvider - tile providing service

crs - Coordinate Reference System

classes - a set of CSS class names

init - an initializer extension function

Constructor