Do not include extra items, fix link to walking routes

This commit is contained in:
pietervdvn 2021-05-14 02:58:57 +02:00
parent de4486c2cf
commit 19f900deab

View file

@ -47,7 +47,7 @@
"minzoom": 12 "minzoom": 12
}, },
"calculatedTags": [ "calculatedTags": [
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes' : 'no'" "_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
] ]
}, },
{ {
@ -62,7 +62,7 @@
"isOsmCache": true "isOsmCache": true
}, },
"calculatedTags": [ "calculatedTags": [
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes' : 'no'" "_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
] ]
} }
}, },
@ -78,7 +78,7 @@
"isOsmCache": true "isOsmCache": true
}, },
"calculatedTags": [ "calculatedTags": [
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes' : 'no'" "_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
] ]
} }
}, },
@ -94,7 +94,7 @@
"isOsmCache": true "isOsmCache": true
}, },
"calculatedTags": [ "calculatedTags": [
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes' : 'no'" "_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
] ]
} }
}, },
@ -109,7 +109,7 @@
"isOsmCache": true "isOsmCache": true
}, },
"calculatedTags": [ "calculatedTags": [
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes' : 'no'" "_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
] ]
} }
}, },
@ -118,11 +118,11 @@
"override": { "override": {
"calculatedTags": [ "calculatedTags": [
"_part_of_walking_routes=feat.memberships().map(r => \"<a href='#relation/\"+r.relation.id+\"'>\" + r.relation.tags.name + \"</a>\").join(', ')", "_part_of_walking_routes=feat.memberships().map(r => \"<a href='#relation/\"+r.relation.id+\"'>\" + r.relation.tags.name + \"</a>\").join(', ')",
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes' : 'no'" "_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
], ],
"source": { "source": {
"geoJson": "http://127.0.0.1:8080/speelplekken_{layer}_{z}_{x}_{y}.geojson", "geoJsonLocal": "http://127.0.0.1:8080/speelplekken_{layer}_{z}_{x}_{y}.geojson",
"geoJsonWeb": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{layer}_{z}_{x}_{y}.geojson", "geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{layer}_{z}_{x}_{y}.geojson",
"geoJsonZoomLevel": 14, "geoJsonZoomLevel": 14,
"isOsmCache": true "isOsmCache": true
} }
@ -142,7 +142,7 @@
"operator~[pP]rovincie Antwerpen" "operator~[pP]rovincie Antwerpen"
] ]
}, },
"geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{z}_{x}_{y}.geojson", "geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{layer}_{z}_{x}_{y}.geojson",
"geoJsonZoomLevel": 14, "geoJsonZoomLevel": 14,
"isOsmCache": true "isOsmCache": true
}, },