Package-level declarations
Types
Link copied to clipboard
open external class Attribution(options: Attribution.AttributionOptions = definedExternally) : Control<Attribution.AttributionOptions>
Link copied to clipboard
open external class Layers(baseLayers: Control.LayersObject = definedExternally, overlays: Control.LayersObject = definedExternally, options: Layers.LayersOptions = definedExternally) : Control<Layers.LayersOptions>
The layers control gives users the ability to switch between different base layers and switch overlays on/off (check out the detailed example).
Link copied to clipboard
open external class Scale(options: Scale.ScaleOptions = definedExternally) : Control<Scale.ScaleOptions>
A simple scale control that shows the scale of the current center of screen in metric (m/km) and imperial (mi/ft) systems.
Link copied to clipboard
open external class Zoom(options: Zoom.ZoomControlOptions = definedExternally) : Control<Zoom.ZoomControlOptions>
A basic zoom control with two buttons (zoom in and zoom out). It is put on the map by default unless you set its LeafletMap.zoomControl option to false
.
Functions
Link copied to clipboard
Native getter for LayersObject
Link copied to clipboard
Native setter for LayersObject