forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
92352ed274
commit
535e36a006
68 changed files with 2734 additions and 382 deletions
|
@ -593,7 +593,10 @@ export default class ShowDataLayer {
|
|||
try {
|
||||
map.resize()
|
||||
} catch (e) {
|
||||
console.error("Could not resize the map in preparation of zoomToCurrentFeatures; the error is:", e)
|
||||
console.error(
|
||||
"Could not resize the map in preparation of zoomToCurrentFeatures; the error is:",
|
||||
e
|
||||
)
|
||||
}
|
||||
map.fitBounds(bbox.toLngLat(), {
|
||||
padding: { top: 10, bottom: 10, left: 10, right: 10 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue