Zoom
open external class Zoom(options: Zoom.ZoomControlOptions = definedExternally) : Control<Zoom.ZoomControlOptions> (source)
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
.
Properties
Functions
Link copied to clipboard
Adds the control to the given map.
Link copied to clipboard
Returns the HTMLElement that contains the control.
Link copied to clipboard
Returns the position of the control.
Link copied to clipboard
Removes the control from the map it is currently active on.
Link copied to clipboard
Sets the position of the control.