Skip to content

NavigationControlOptions

NavigationControlOptions: object

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.

Defined in

src/ui/control/navigation_control.ts:14