Attempt to fix caching process

This commit is contained in:
Pieter Vander Vennet 2021-09-10 00:00:48 +02:00
parent 7d57672432
commit 3c51c28157
4 changed files with 20 additions and 15 deletions

View file

@ -84,8 +84,8 @@
"nl": "verrekijker"
},
"description": {
"en": "A telescope or pair of binoculars mounted on a pole, available to the public to look around. <img src='./assets/layers/binocular/binoculars_example.jpg' style='height: 300px; width: auto;' />",
"nl": "Een telescoop of verrekijker die op een vaste plaats gemonteerd staat waar iedereen door mag kijken. <img src='./assets/layers/binocular/binoculars_example.jpg' style='height: 300px; width: auto;' />"
"en": "A telescope or pair of binoculars mounted on a pole, available to the public to look around. <img src='./assets/layers/binocular/binoculars_example.jpg' style='height: 300px; width: auto; display: block;' />",
"nl": "Een telescoop of verrekijker die op een vaste plaats gemonteerd staat waar iedereen door mag kijken. <img src='./assets/layers/binocular/binoculars_example.jpg' style='height: 300px; width: auto; display: block;' />"
},
"preciseInput": {
"preferredBackground": "photo"

View file

@ -30,7 +30,8 @@
"id": "shadow",
"source": {
"geoJson": "https://raw.githubusercontent.com/pietervdvn/MapComplete/master/assets/themes/speelplekken/shadow.geojson",
"osmTags": "shadow=yes"
"osmTags": "shadow=yes",
"isOsmCache": false
},
"color": "#444444",
"width": {
@ -49,7 +50,7 @@
"minzoom": 12,
"calculatedTags": [
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''",
"_video:id=new URL(feat.properties.video).searchParams.get('v')"
"_video:id= feat.properties.video === undefined ? undefined : new URL(feat.properties.video).searchParams.get('v')"
]
}
},
@ -66,7 +67,7 @@
},
"calculatedTags": [
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''",
"_video:id=new URL(feat.properties.video).searchParams.get('v')"
"_video:id=feat.properties.video === undefined ? undefined : new URL(feat.properties.video).searchParams.get('v')"
]
}
},
@ -83,7 +84,7 @@
},
"calculatedTags": [
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''",
"_video:id=new URL(feat.properties.video).searchParams.get('v')"
"_video:id=feat.properties.video === undefined ? undefined : new URL(feat.properties.video).searchParams.get('v')"
]
}
},
@ -100,7 +101,7 @@
},
"calculatedTags": [
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''",
"_video:id=new URL(feat.properties.video).searchParams.get('v')"
"_video:id=feat.properties.video === undefined ? undefined : new URL(feat.properties.video).searchParams.get('v')"
]
}
},
@ -116,7 +117,7 @@
},
"calculatedTags": [
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''",
"_video:id=new URL(feat.properties.video).searchParams.get('v')"
"_video:id=feat.properties.video === undefined ? undefined : new URL(feat.properties.video).searchParams.get('v')"
]
}
},