Skip to content

Control

Control is a base class for implementing map controls. Handles positioning. All other controls extend from this class.

Options

OptionTypeDefaultDescription
positionString'topright'The position of the control (one of the map corners). Possible values are 'topleft',