LeafletObjectFactory

Leaflet constructors.

Equivalent to Leaflet's L shortcut.

See https://leafletjs.com/reference.html#class-class-factories

Functions

Link copied to clipboard
Link copied to clipboard
fun canvas(configure: Canvas.CanvasOptions.() -> Unit = {}): Canvas
Link copied to clipboard
fun circle(latlng: LatLng, configure: CircleMarker.CircleMarkerOptions.() -> Unit = {}): Circle
Link copied to clipboard
Link copied to clipboard
fun divIcon(configure: DivIcon.DivIconOptions.() -> Unit = {}): DivIcon
Link copied to clipboard
Link copied to clipboard
fun featureGroup(layers: Array<Layer<*>>, configure: Layer.LayerOptions.() -> Unit = {}): FeatureGroup
Link copied to clipboard
fun icon(configure: Icon.IconOptions.() -> Unit = {}): Icon<Icon.IconOptions>
Link copied to clipboard
fun imageOverlay(imageUrl: String, bounds: LatLngBounds, configure: ImageOverlay.ImageOverlayOptions.() -> Unit = {}): ImageOverlay
Link copied to clipboard
fun latLng(latLng: <Error class: unknown class><Number, Number>, altitude: Number? = null): LatLng
fun latLng(latitude: Number, longitude: Number): LatLng
fun latLng(latitude: Number, longitude: Number, altitude: Number): LatLng
Link copied to clipboard
fun latLngBounds(southWestToNorthEast: <Error class: unknown class><LatLng, LatLng>): LatLngBounds
fun latLngBounds(southWest: LatLng, northEast: LatLng): LatLngBounds
Link copied to clipboard
fun layers(baseLayers: Control.LayersObject = layersObject(emptyMap()), overlays: Control.LayersObject = layersObject(emptyMap()), configure: Layers.LayersOptions.() -> Unit = {}): Layers
Link copied to clipboard
Link copied to clipboard
fun map(element: <Error class: unknown class>, configure: LeafletMap.LeafletMapOptions.() -> Unit = {}): LeafletMap
Link copied to clipboard
fun marker(latlng: LatLng, configure: Marker.MarkerOptions.() -> Unit = {}): Marker
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun popup(source: Layer<*>, configure: Popup.PopupOptions.() -> Unit = {}): Popup
Link copied to clipboard
fun rectangle(latLngBounds: LatLngBounds, configure: Polyline.PolylineOptions.() -> Unit = {}): Rectangle
Link copied to clipboard
fun scale(configure: Scale.ScaleOptions.() -> Unit = {}): Scale
Link copied to clipboard
fun svg(configure: Renderer.RendererOptions.() -> Unit = {}): SVG
Link copied to clipboard
Link copied to clipboard
fun tooltip(source: Layer<*>? = null, configure: Tooltip.TooltipOptions.() -> Unit = {}): Tooltip
Link copied to clipboard
fun videoOverlay(video: <Error class: unknown class>, bounds: LatLngBounds, configure: VideoOverlay.VideoOverlayOptions.() -> Unit = {}): VideoOverlay
Link copied to clipboard
fun wms(baseUrl: String, configure: WMS.WMSOptions.() -> Unit = {}): WMS
Link copied to clipboard
fun zoom(configure: Zoom.ZoomControlOptions.() -> Unit = {}): Zoom