Package-level declarations

Types

Link copied to clipboard
open external class DivOverlay<T : DivOverlay.DivOverlayOptions>(options: DivOverlay.DivOverlayOptions = definedExternally, source: Layer<*> = definedExternally) : Layer<Layer.LayerOptions>
Link copied to clipboard
open external class ImageOverlay(imageUrl: String, bounds: LatLngBounds, options: ImageOverlay.ImageOverlayOptions = definedExternally) : Layer<ImageOverlay.ImageOverlayOptions> , MediaOverlay

Used to load and display a single image over specific bounds of the map.

Link copied to clipboard
external interface MediaOverlay

Artificial interface that does not represent a Leaflet type. It is used to align ImageOverlay, SVGOverlay, and VideoOverlay, because getElement and methods that return this are dynamic.

Link copied to clipboard
open external class Popup(source: Layer<*> = definedExternally, options: Popup.PopupOptions = definedExternally) : DivOverlay<Popup.PopupOptions>

Used to open popups in certain places of the map. Use LeafletMap.openPopup to open popups while making sure that only one popup is open at one time (recommended for usability), or use LeafletMap.addLayer to open as many as you want.

Link copied to clipboard
Link copied to clipboard
open external class Tooltip(source: Layer<*> = definedExternally, options: Tooltip.TooltipOptions? = definedExternally) : DivOverlay<Tooltip.TooltipOptions>
Link copied to clipboard