On this page

Type Alias NavigationControlOptions

The NavigationControl options object

type NavigationControlOptions = {
    showCompass?: boolean;
    showZoom?: boolean;
    visualizePitch?: boolean;
    visualizeRoll?: boolean;
}
Index

Properties

showCompass?: boolean

If true the compass button is included.

showZoom?: boolean

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

visualizePitch?: boolean

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

visualizeRoll?: boolean

If true the roll is visualized by rotating the compass.

Was this helpful?
SDK JS
Reference
NavigationControlOptions