add pitch to navigation map control

This commit is contained in:
vcoppe committed 2024-07-25 18:38:03 +02:00
1 parent 51a1ee33db
commit 8fb41837cc
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -71,7 +71,11 @@
})
);
newMap.addControl(new mapboxgl.NavigationControl());
newMap.addControl(
new mapboxgl.NavigationControl({
visualizePitch: true
})
);
if (geocoder) {
newMap.addControl(