kvision / pl.treksoft.kvision.maps

Package pl.treksoft.kvision.maps

A maps component based on Leaflet library.

Types

(js)

AttributionOptions

data class AttributionOptions
(js)

BaseLayerProvider

enum class BaseLayerProvider
(js)

ClassExtendOptions

data class ClassExtendOptions
(js)

ControlOptions

data class ControlOptions
(js)

CRS

enum class CRS
(js)

DivIconOptions

data class DivIconOptions
(js)

FitBoundsOptions

data class FitBoundsOptions
(js)

Icon

data class Icon
(js)

IconOptions

data class IconOptions
(js)

ICRS

data class ICRS
(js)

ILayer

interface ILayer
(js)

ImageOverlayOptions

data class ImageOverlayOptions
(js)

LatLng

data class LatLng
(js)

LatLngBounds

data class LatLngBounds
(js)

LayersOptions

data class LayersOptions
(js)

LocateOptions

data class LocateOptions
(js)

MapOption

data class MapOption
(js)

Maps

Maps component.

open class Maps : Widget
(js)

MarkerOptions

data class MarkerOptions
(js)

PanOptions

data class PanOptions
(js)

PathOptions

data class PathOptions
(js)

Point

data class Point
(js)

PolylineOptions

data class PolylineOptions
(js)

PopupOptions

data class PopupOptions
(js)

Position

enum class Position
(js)

ScaleOptions

data class ScaleOptions
(js)

TileLayerOptions

data class TileLayerOptions
(js)

WMSOptions

data class WMSOptions
(js)

ZoomOptions

data class ZoomOptions
(js)

ZoomPanOptions

data class ZoomPanOptions

Functions

(js)

maps

DSL builder extension function.

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

toArray

fun LatLng.toArray(): Array<Number>
fun LatLngBounds.toArray(): Array<Array<Number>>
(js)

toJs

fun ImageOverlayOptions.toJs(): dynamic