Scale
open external class Scale(options: Scale.ScaleOptions = definedExternally) : Control<Scale.ScaleOptions> (source)
A simple scale control that shows the scale of the current center of screen in metric (m/km) and imperial (mi/ft) systems.
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.