Increase mod fitBounds padding
This commit is contained in:
parent
4ae16515bf
commit
53ad361085
@ -238,7 +238,7 @@ const Map: React.FC = () => {
|
|||||||
if (map.current) {
|
if (map.current) {
|
||||||
map.current.resize();
|
map.current.resize();
|
||||||
if (bounds) {
|
if (bounds) {
|
||||||
map.current.fitBounds(bounds, { padding: 20 });
|
map.current.fitBounds(bounds, { padding: 40 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user