Move layers to canonical paths, rewrite some regexes as 'or' as to make the taginfo-information more accurate
This commit is contained in:
parent
05b05a958c
commit
ce9b0eabb1
42 changed files with 61 additions and 52 deletions
77
assets/layers/picnic_table/picnic_table.json
Normal file
77
assets/layers/picnic_table/picnic_table.json
Normal file
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"id": "picnic_table",
|
||||
"name": {
|
||||
"en": "Picnic tables",
|
||||
"nl": "Picnictafels"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"source": {
|
||||
"osmTags": "leisure=picnic_table"
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Picnic table",
|
||||
"nl": "Picnictafel"
|
||||
}
|
||||
},
|
||||
"description": {
|
||||
"en": "The layer showing picnic tables",
|
||||
"nl": "Deze laag toont picnictafels"
|
||||
},
|
||||
"tagRenderings": [
|
||||
{
|
||||
"question": {
|
||||
"en": "What material is this picnic table made of?",
|
||||
"nl": "Van welk materiaal is deze picnictafel gemaakt?"
|
||||
},
|
||||
"render": {
|
||||
"en": "This picnic table is made of {material}",
|
||||
"nl": "Deze picnictafel is gemaakt van {material}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "material"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "material=wood",
|
||||
"then": {
|
||||
"en": "This is a wooden picnic table",
|
||||
"nl": "Deze picnictafel is gemaakt uit hout"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "material=concrete",
|
||||
"then": {
|
||||
"en": "This is a concrete picnic table",
|
||||
"nl": "Deze picnictafel is gemaakt uit beton"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"hideUnderlayingFeaturesMinPercentage": 0,
|
||||
"icon": {
|
||||
"render": "circle:#e6cf39;./assets/layers/picnic_table/picnic_table.svg"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "35,35,center"
|
||||
},
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"leisure=picnic_table"
|
||||
],
|
||||
"title": {
|
||||
"en": "Picnic table",
|
||||
"nl": "Picnic-tafel"
|
||||
}
|
||||
}
|
||||
],
|
||||
"wayHandling": 1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue