Control
Control
is a base class for implementing map controls. Handles positioning. All other controls extend from this class.
See https://leafletjs.com/reference.html#control
Inheritors
Types
Link copied to clipboard
Link copied to clipboard
Object literal with layer names as keys and Layer objects as values.
Properties
Functions
Link copied to clipboard
Adds a constructor hook to the class.
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
Merges options into the defaults of the class.
Link copied to clipboard
Sets the position of the control.