diff --git a/components/MapComponent.js b/components/MapComponent.js index e6b781cc6..a0e625fd9 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -2199,7 +2199,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { // Fit map to show all markers and polylines const group = new L.featureGroup([...markers, polyline]); - map.fitBounds(group.getBounds().pad(0.5)); + // map.fitBounds(group.getBounds().pad(0.5)); }); }, [map, linePositions, lineColors]); // Run this effect when `map` is ready