Merge pull request #1167 from datopian/fix/map-geojson

Fix: autoZoomConfiguration not working properly when the geojson parameter is passed
This commit is contained in:
Anuar Ustayev (aka Anu) 2024-06-04 14:06:45 +05:00 committed by GitHub
commit 7094eded50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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