|
@@ -14,7 +14,7 @@ const useMapBounds = (mapRef, country) => {
|
|
if (bounds) {
|
|
if (bounds) {
|
|
mapRef.current.fitBounds(bounds);
|
|
mapRef.current.fitBounds(bounds);
|
|
mapRef.current.panToBounds(bounds);
|
|
mapRef.current.panToBounds(bounds);
|
|
- mapRef.current.setZoom(2);
|
|
|
|
|
|
+ mapRef.current.setZoom(3);
|
|
done.current = true;
|
|
done.current = true;
|
|
}
|
|
}
|
|
}
|
|
}
|