Remove last mentions of 'overpassTags' in the layerconfig

This commit is contained in:
Pieter Vander Vennet 2021-03-21 00:44:23 +01:00
parent 4da98ff86c
commit d7c1f38d26
4 changed files with 7 additions and 10 deletions

View file

@ -47,7 +47,7 @@ export default class FilteringFeatureSource implements FeatureSource {
if (!FilteringFeatureSource.showLayer(toCheck, location)) {
continue;
}
if (toCheck.layerDef.overpassTags.matchesProperties(f.feature.properties)) {
if (toCheck.layerDef.source.osmTags.matchesProperties(f.feature.properties)) {
return true;
}
}