Increase mod fitBounds padding

This commit is contained in:
Tyler Hallada 2022-02-06 23:02:00 -05:00
parent 4ae16515bf
commit 53ad361085

View File

@ -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 });
} }
} }
}); });