Fix: build, some metatagging errors
This commit is contained in:
parent
df7b0f84db
commit
0d529e7cca
6 changed files with 13 additions and 22 deletions
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
"id": "matchpoint",
|
||||
"description": "The default rendering for a locationInput which snaps onto another object",
|
||||
"source": "special",
|
||||
"mapRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"icon": "./assets/svg/crosshair-empty.svg"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -23,7 +23,7 @@
|
|||
"osmTags": "amenity=recycling"
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_waste_amount=Object.values(Object.keys(feat.properties).filter((key) => key.startsWith('recycling:')).reduce((cur, key) => { return Object.assign(cur, { [key]: feat.properties[key] })}, {})).reduce((n, x) => n + (x == \"yes\"), 0);"
|
||||
"_waste_amount=Object.keys(feat.properties).filter(key => key.startsWith('recycling:')).filter(k => feat.properties[k] === 'yes').length"
|
||||
],
|
||||
"minzoom": 10,
|
||||
"title": {
|
||||
|
@ -1569,4 +1569,4 @@
|
|||
"enableRelocation": true,
|
||||
"enableImproveAccuracy": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
}
|
||||
},
|
||||
"calculatedTags": [
|
||||
"_enclosing=feat.enclosingFeatures('school').map(f => f.feat.properties.id)",
|
||||
"_enclosing=enclosingFeatures(feat)('school').map(f => f.feat.properties.id)",
|
||||
"_is_enclosed=feat.properties._enclosing != '[]'"
|
||||
],
|
||||
"isShown": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue