navigation opions

This commit is contained in:
Adam 2023-04-15 08:41:55 -04:00
parent 401957056a
commit 2ae04f4af9

View file

@ -39,7 +39,16 @@ function BadassMap(): JSX.Element {
<button onClick={toggleRotate}> Rotation Off </button> <button onClick={toggleRotate}> Rotation Off </button>
</Show> </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="geolocate" position="top-right" />
<Control type="scale" position="bottom-left" /> <Control type="scale" position="bottom-left" />