CompassControlOptions interface

The options for a CompassControl object.

Extends

Properties

inverted

Inverts the direction of map rotation controls.

rotationDegreesDelta

The angle that the map will rotate with each click of the control. Default 15.

style

The style of the control. Default ControlStyle.light

Property Details

inverted

Inverts the direction of map rotation controls.

inverted?: boolean

Property Value

boolean

rotationDegreesDelta

The angle that the map will rotate with each click of the control. Default 15.

rotationDegreesDelta: number

Property Value

number

style

The style of the control. Default ControlStyle.light

style: ControlStyle

Property Value