Add opening hours to playgrounds and pitches

This commit is contained in:
Pieter Vander Vennet 2021-03-26 00:14:17 +01:00
parent 1b1ec9f15d
commit fa238092bc
4 changed files with 157 additions and 69 deletions

View file

@ -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"){