all repos — caroster @ d0199a618f39b2f8fdedf40f720c37ba7ab1e11c

[Octree] Group carpool to your event https://caroster.io

🐛 Fix map zoom
Tim Izzo tim@5ika.ch
Fri, 10 Jan 2025 09:24:48 +0100
commit

d0199a618f39b2f8fdedf40f720c37ba7ab1e11c

parent

42dc24e52b788d06472c26e9301cabb9ffd6bc6d

2 files changed, 1 insertions(+), 2 deletions(-)

jump to
M frontend/containers/Map/Map.tsxfrontend/containers/Map/Map.tsx

@@ -17,7 +17,7 @@ const markers = useMapStore(s => s.markers);

return ( <MapWrapper> - <MapContainer style={{height: '100%', width: '100%'}}> + <MapContainer style={{height: '100%', width: '100%'}} zoomControl={false}> <Bounds /> <TileLayer key="tiles"
M frontend/containers/Map/MapController.tsxfrontend/containers/Map/MapController.tsx

@@ -5,7 +5,6 @@ const MapController = () => {

const map = useMap(); const setMap = useMapStore(s => s.setMap); const storedMap = useMapStore(s => s.map); - map.scrollWheelZoom.disable(); if (storedMap !== map) setMap(map);