Fix: autoZoomConfiguration not working properly when the geojson parameter is passed
This commit is contained in:
parent
d6bf344ca3
commit
feada58932
@ -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}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user