navigation opions
This commit is contained in:
parent
401957056a
commit
2ae04f4af9
1 changed files with 10 additions and 1 deletions
|
@ -39,7 +39,16 @@ function BadassMap(): JSX.Element {
|
|||
<button onClick={toggleRotate}> Rotation Off </button>
|
||||
</Show>
|
||||
|
||||
<Control type="navigation" position="top-right" />
|
||||
<Control
|
||||
type="navigation"
|
||||
position="top-right"
|
||||
options={{
|
||||
showCompass: true,
|
||||
showZoom: true,
|
||||
visualizePitch: true,
|
||||
}}
|
||||
/>
|
||||
|
||||
<Control type="geolocate" position="top-right" />
|
||||
<Control type="scale" position="bottom-left" />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue