forked from MapComplete/MapComplete
Add opening hours to playgrounds and pitches
This commit is contained in:
parent
1b1ec9f15d
commit
fa238092bc
4 changed files with 157 additions and 69 deletions
|
@ -42,7 +42,6 @@ export default class FilteringFeatureSource implements FeatureSource {
|
|||
|
||||
const isShown = layer.layerDef.isShown
|
||||
const tags = f.feature.properties;
|
||||
console.log("Is shown: ", isShown," known? ", isShown.IsKnown(tags), " result: ", isShown.GetRenderValue(tags).txt)
|
||||
if(isShown.IsKnown(tags)){
|
||||
const result = layer.layerDef.isShown.GetRenderValue(f.feature.properties).txt;
|
||||
if(result !== "yes"){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue