forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
d7509c8d6f
commit
66c27cbad4
127 changed files with 6557 additions and 2698 deletions
|
|
@ -88,7 +88,7 @@ export default class InitialMapPositioning {
|
|||
return
|
||||
}
|
||||
const targetLayer = layoutToUse.getMatchingLayer(osmObject.tags)
|
||||
if(targetLayer){
|
||||
if (targetLayer) {
|
||||
this.zoom.setData(Math.max(this.zoom.data, targetLayer.minzoom))
|
||||
}
|
||||
const [lat, lon] = osmObject.centerpoint()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue