Package-level declarations

Types

Link copied to clipboard
open external class FeatureGroup(layers: Array<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 external class GeoJSON(geojson: GeoJsonObject = 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 external 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 external class LayerGroup(layers: Array<Layer<*>> = definedExternally, options: Layer.LayerOptions = definedExternally) : Layer<Layer.LayerOptions>

Used to group several layers and handle them as one.

Link copied to clipboard