Package-level declarations

Types

Link copied to clipboard
open class FeatureGroup(layers: JsArray<Layer<*>> = definedExternally, options: Layer.LayerOptions = definedExternally) : LayerGroup

Extended LayerGroup that makes it easier to do the same thing to all its member layers:

Link copied to clipboard
open class GeoJSON(geojson: JsAny = definedExternally, options: GeoJSON.GeoJSONOptions = definedExternally) : FeatureGroup

Represents a GeoJSON object or an array of GeoJSON objects. Allows you to parse GeoJSON data and display it on the map.

Link copied to clipboard
abstract class Layer<T : Layer.LayerOptions>(options: T = definedExternally) : Evented

A set of methods from the Layer base class that all Leaflet layers use. Inherits all methods, options and events from Evented.

Link copied to clipboard
open class LayerGroup(layers: JsArray<Layer<*>> = definedExternally, options: Layer.LayerOptions = definedExternally) : Layer<Layer.LayerOptions>

Used to group several layers and handle them as one.

Link copied to clipboard
typealias StyleFunction = (feature: JsAny) -> Path.PathOptions