More refactoring and fixes
This commit is contained in:
parent
d7004cd3dc
commit
9cc721abad
37 changed files with 519 additions and 632 deletions
|
@ -53,7 +53,6 @@ export default class OverpassFeatureSource implements FeatureSource {
|
|||
return false;
|
||||
}
|
||||
let minzoom = Math.min(...layoutToUse.data.layers.map(layer => layer.minzoom ?? 18));
|
||||
console.debug("overpass source: minzoom is ", minzoom)
|
||||
return location.zoom >= minzoom;
|
||||
}, [layoutToUse]
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue