mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-27 02:27:18 +00:00
add pitch to navigation map control
This commit is contained in:
1 parent
51a1ee33db
commit
8fb41837cc
2 files changed
+6
-2
No files matched your search
@@ -71,7 +71,11 @@
|
||||
})
|
||||
);
|
||||
|
||||
newMap.addControl(new mapboxgl.NavigationControl());
|
||||
newMap.addControl(
|
||||
new mapboxgl.NavigationControl({
|
||||
visualizePitch: true
|
||||
})
|
||||
);
|
||||
|
||||
if (geocoder) {
|
||||
newMap.addControl(
|
||||
|
||||
Reference in new issue
Block a user