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
Link copied to clipboard
fun circleMarker(latlng: LatLng, configure: CircleMarker.CircleMarkerOptions.() -> Unit = {}): CircleMarker
Link copied to clipboard
Link copied to clipboard
fun divOverlay(source: Layer<*>, configure: DivOverlay.DivOverlayOptions.() -> Unit = {}): DivOverlay<DivOverlay.DivOverlayOptions>
Link copied to clipboard
fun featureGroup(layers: Array<Layer<*>>, configure: Layer.LayerOptions.() -> Unit = {}): FeatureGroup
Link copied to clipboard
Link copied to clipboard
fun imageOverlay(imageUrl: String, bounds: LatLngBounds, configure: ImageOverlay.ImageOverlayOptions.() -> Unit = {}): ImageOverlay
Link copied to clipboard
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
Link copied to clipboard
fun multiPolygon(latlngs: Collection<Collection<Collection<LatLng>>>, configure: Polyline.PolylineOptions.() -> Unit = {}): Polygon<MultiPolygon>
Link copied to clipboard
fun multiPolyline(latLngs: Collection<Collection<LatLng>>, configure: Polyline.PolylineOptions.() -> Unit = {}): Polyline<MultiLineString>
Link copied to clipboard
fun polygon(latlngs: Collection<LatLng>, configure: Polyline.PolylineOptions.() -> Unit = {}): Polygon<Polygon>
Link copied to clipboard
fun polyline(latLngs: Collection<LatLng>, configure: Polyline.PolylineOptions.() -> Unit = {}): Polyline<LineString>
Link copied to clipboard
fun rectangle(latLngBounds: LatLngBounds, configure: Polyline.PolylineOptions.() -> Unit = {}): Rectangle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun tileLayer(urlTemplate: String, configure: TileLayer.TileLayerOptions.() -> Unit = {}): TileLayer<TileLayer.TileLayerOptions>
Link copied to clipboard
fun videoOverlay(video: Array<String>, bounds: LatLngBounds, configure: VideoOverlay.VideoOverlayOptions.() -> Unit = {}): VideoOverlay
fun videoOverlay(video: String, bounds: LatLngBounds, configure: VideoOverlay.VideoOverlayOptions.() -> Unit = {}): VideoOverlay
fun videoOverlay(video: HTMLVideoElement, bounds: LatLngBounds, configure: VideoOverlay.VideoOverlayOptions.() -> Unit = {}): VideoOverlay
Link copied to clipboard