NavigationControl

API Reference (beta) for <NavigationControl />

Property Type Description
position
optional
"top-left" | "top-right" | "bottom-left" | "bottom-right"
-
showCompass
optional
boolean
If `true` the compass button is included.
showZoom
optional
boolean
If `true` the zoom-in and zoom-out buttons are included.
visualizePitch
optional
boolean
If `true` the pitch is visualized by rotating X-axis of compass.
visualizeRoll
optional
boolean
If `true` the roll is visualized by rotating the compass.