Browse Source

fixes

playgrounds
Axel Utech 7 years ago
parent
commit
b78b5c5848
  1. 23
      children.json

23
children.json

@ -60,10 +60,9 @@
" {% set value = tags.amenity %}",
"{% endif %}",
"",
"{% set type_data = const[key ~ '=' ~ value] |default(const['default=yes']) %}"
"{% set type_data = const[key ~ '=' ~ value] |default(const['default=other']) %}"
],
"title": "{{ keyTrans(key) }}: {{localizedTag(tags, 'name') |default(localizedTag(tags, 'operator')) | default(localizedTag(tags, 'ref')) | default(tagTrans(key, value)) }}",
"description": "{{ type_data }}",
"markerSign": "{{ type_data.sign|raw }}",
"priority": "{{ type_data.priority }}",
"style": {
@ -82,36 +81,36 @@
],
"const": {
"leisure=playground": {
"priority": 10,
"priority": 0,
"sign": "⛹"
},
"leisure=summer_camp": {
"priority": 10,
"priority": 0,
"sign": "🏕"
},
"leisure=indoor_play": {
"priority": 8,
"priority": 2,
"sign": "🏠"
},
"shop=baby_goods": {
"priority": 8,
"priority": 2,
"sign": "<i class=\"fa fa-shopping-cart\"></i>"
},
"shop=toys": {
"priority": 8,
"priority": 2,
"sign": "<i class=\"fa fa-shopping-cart\"></i>"
},
"amenity=toilets": {
"priority": 6,
"priority": 4,
"sign": "🚽🚼"
},
"playground=swing": {
"priority": 4,
"priority": 8,
"sign": ""
},
"default=yes": {
"priority": 0,
"sign": "X"
"default=other": {
"priority": 100,
"sign": ""
}
}
}
Loading…
Cancel
Save