Fix: autoZoomConfiguration not working properly when the geojson parameter is passed

This commit is contained in:
Ronaldo Campos 2024-05-31 11:37:01 -03:00
parent d6bf344ca3
commit feada58932

View File

@ -100,6 +100,7 @@ export function Map({
</div> </div>
) : ( ) : (
<MapContainer <MapContainer
key={layersData}
center={[center.latitude, center.longitude]} center={[center.latitude, center.longitude]}
zoom={zoom} zoom={zoom}
scrollWheelZoom={false} scrollWheelZoom={false}