fix: leaflet marker
This commit is contained in:
parent
87847ab31a
commit
3b4344c1bf
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
try {
|
try {
|
||||||
map.fitBounds(markerGroupLayer.getBounds(), {
|
map.fitBounds(markerGroupLayer.getBounds(), {
|
||||||
maxZoom: 13
|
maxZoom: Math.max(map.getZoom(), 13)
|
||||||
});
|
});
|
||||||
} catch (error) {}
|
} catch (error) {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 609 B |
Binary file not shown.
|
After Width: | Height: | Size: 136 B |
Loading…
Reference in New Issue