forked from MapComplete/MapComplete
Performance: fix stuttering at low zoom
This commit is contained in:
parent
4f4b60afd8
commit
e9a511e5bd
4 changed files with 13 additions and 2 deletions
|
|
@ -66,6 +66,7 @@ export default class DynamicGeoJsonTileSource extends DynamicTileSource {
|
|||
const blackList = new Set<string>()
|
||||
super(
|
||||
source.geojsonZoomLevel,
|
||||
layer.minzoom,
|
||||
(zxy) => {
|
||||
if (whitelist !== undefined) {
|
||||
const isWhiteListed = whitelist.get(zxy[1])?.has(zxy[2])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue