Skip to content

NavigationControlOptions

NavigationControlOptions: object

Defined in: src/ui/control/navigation_control.ts:14

The NavigationControl options object

Type declaration

showCompass?

optional showCompass: boolean

If true the compass button is included.

showZoom?

optional showZoom: boolean

If true the zoom-in and zoom-out buttons are included.

visualizePitch?

optional visualizePitch: boolean

If true the pitch is visualized by rotating X-axis of compass.

visualizeRoll?

optional visualizeRoll: boolean

If true the roll is visualized by rotating the compass.