Fix caching
This commit is contained in:
parent
65dbcb4f12
commit
eb8fea5692
2 changed files with 10 additions and 7 deletions
|
@ -82,12 +82,15 @@ export default class FilteringFeatureSource implements FeatureSourceForLayer, Ti
|
|||
}
|
||||
}
|
||||
|
||||
const tagsFilter = Array.from(layer.appliedFilters.data.values());
|
||||
for (const filter of tagsFilter ?? []) {
|
||||
const neededTags : TagsFilter = filter?.currentFilter
|
||||
if (neededTags !== undefined && !neededTags.matchesProperties(f.feature.properties)) {
|
||||
// Hidden by the filter on the layer itself - we want to hide it no matter wat
|
||||
return false;
|
||||
const appliedFilters = layer.appliedFilters?.data
|
||||
if(appliedFilters !== undefined){
|
||||
const tagsFilter = Array.from(appliedFilters.values());
|
||||
for (const filter of tagsFilter ?? []) {
|
||||
const neededTags : TagsFilter = filter?.currentFilter
|
||||
if (neededTags !== undefined && !neededTags.matchesProperties(f.feature.properties)) {
|
||||
// Hidden by the filter on the layer itself - we want to hide it no matter wat
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import {Utils} from "../Utils";
|
|||
|
||||
export default class Constants {
|
||||
|
||||
public static vNumber = "0.14.1";
|
||||
public static vNumber = "0.14.2";
|
||||
public static ImgurApiKey = '7070e7167f0a25a'
|
||||
public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue