Package-level declarations

Types

Link copied to clipboard

Some default TileLayers from publicly available tile providers.

Link copied to clipboard
interface IMaps : ITag<HTMLDivElement>

Leaflet Map component.

Link copied to clipboard

Leaflet constructors.

Link copied to clipboard
open class Maps(options: MapsOptions? = null, className: String? = null, id: String? = null, renderConfig: RenderConfig = RenderConfig.Default) : Tag<HTMLDivElement> , IMaps

Leaflet Map component.

Link copied to clipboard
data class MapsOptions(val preferCanvas: Boolean? = null, val attributionControl: Boolean? = null, val zoomControl: Boolean? = null, val closePopupOnClick: Boolean? = null, val zoomSnap: Int? = null, val zoomDelta: Double? = null, val trackResize: Boolean? = null, val boxZoom: Boolean? = null, val doubleClickZoom: JsAny? = null, val dragging: Boolean? = null, val crs: CRS? = null, val center: LatLng? = null, val zoom: Int? = null, val maxZoom: Int? = null, val minZoom: Int? = null, val layers: JsArray<Layer<*>>? = null, val maxBounds: LatLngBounds? = null, val renderer: Renderer<Renderer.RendererOptions>? = null, val zoomAnimation: Boolean? = null, val zoomAnimationThreshold: Double? = null, val fadeAnimation: Boolean? = null, val markerZoomAnimation: Boolean? = null, val transform3DLimit: Double? = null, val inertia: Boolean? = null, val inertiaDeceleration: Double? = null, val inertiaMaxSpeed: Double? = null, val easeLinearity: Double? = null, val worldCopyJump: Boolean? = null, val maxBoundsViscosity: Double? = null, val keyboard: Boolean? = null, val keyboardPanDelta: Double? = null, val scrollWheelZoom: JsAny? = null, val wheelDebounceTime: Double? = null, val wheelPxPerZoomLevel: Double? = null, val tap: Boolean? = null, val tapTolerance: Double? = null, val touchZoom: JsAny? = null, val bounceAtZoomLimits: Boolean? = null)

Options for the Leaflet Map.

Functions

Link copied to clipboard
@Composable
fun IComponent.maps(options: MapsOptions? = null, className: String? = null, id: String? = null, content: @Composable IMaps.() -> Unit = {})

Create Maps component.

Link copied to clipboard
@Composable
fun IComponent.mapsRef(options: MapsOptions? = null, className: String? = null, id: String? = null, content: @Composable IMaps.() -> Unit = {}): Maps

Create Maps component, returning a reference.