Skip to content

Commit

Permalink
Allow pinch-to-zoom on the map view on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
khdlr committed Aug 26, 2024
1 parent 50d490e commit b21a95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function Index() {
mapRef.current = current;
if(current !== null) {
current.getMap().dragRotate.disable();
current.getMap().touchZoomRotate.disable();
current.getMap().touchZoomRotate.disableRotation();
}
}, []);

Expand Down

0 comments on commit b21a95b

Please sign in to comment.