Skip to content

Commit

Permalink
fix(navigation): small UX adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
azarz committed Dec 6, 2024
1 parent 96f1d16 commit 247b4ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/services/location.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ const locationOnOff = async () => {
tracking_active = true;
Globals.map.setPadding({top: 0, right: 0, bottom: 0, left: 0});
Globals.map.setCenter([currentPosition.coords.longitude, currentPosition.coords.latitude]);
Globals.map.setPitch(0);
Globals.map.touchZoomRotate.disable();
Globals.map.getCanvasContainer().addEventListener("touchstart", locationOnTouchStartHandler);
Globals.map.getCanvasContainer().addEventListener("touchmove", locationOnTouchMoveHandler);
Expand Down

0 comments on commit 247b4ea

Please sign in to comment.