Fix #1318
This commit is contained in:
parent
fa028df4d7
commit
f7f0ccdb7d
1 changed files with 4 additions and 4 deletions
|
@ -227,7 +227,7 @@ export class DownloadPanel extends Toggle {
|
||||||
bbox,
|
bbox,
|
||||||
new Set(neededLayers)
|
new Set(neededLayers)
|
||||||
)
|
)
|
||||||
outer: for (const tile of featureList) {
|
for (const tile of featureList) {
|
||||||
if (Constants.priviliged_layers.indexOf(tile.layer) >= 0) {
|
if (Constants.priviliged_layers.indexOf(tile.layer) >= 0) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
@ -238,7 +238,7 @@ export class DownloadPanel extends Toggle {
|
||||||
}
|
}
|
||||||
const featureList = perLayer.get(tile.layer)
|
const featureList = perLayer.get(tile.layer)
|
||||||
const filters = layer.appliedFilters.data
|
const filters = layer.appliedFilters.data
|
||||||
for (const feature of tile.features) {
|
perfeature: for (const feature of tile.features) {
|
||||||
if (!bbox.overlapsWith(BBox.get(feature))) {
|
if (!bbox.overlapsWith(BBox.get(feature))) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
@ -250,7 +250,7 @@ export class DownloadPanel extends Toggle {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if (!filter.currentFilter.matchesProperties(feature.properties)) {
|
if (!filter.currentFilter.matchesProperties(feature.properties)) {
|
||||||
continue outer
|
continue perfeature
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -281,7 +281,7 @@ export class DownloadPanel extends Toggle {
|
||||||
delete feature.properties[key]
|
delete feature.properties[key]
|
||||||
}
|
}
|
||||||
|
|
||||||
featureList.push(feature)
|
featureList.push(cleaned)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue