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 %}", " {% set value = tags.amenity %}",
"{% endif %}", "{% 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)) }}", "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 }}", "markerSign": "{{ type_data.sign|raw }}",
"priority": "{{ type_data.priority }}", "priority": "{{ type_data.priority }}",
"style": { "style": {
@ -82,36 +81,36 @@
], ],
"const": { "const": {
"leisure=playground": { "leisure=playground": {
"priority": 10,
"priority": 0,
"sign": "⛹" "sign": "⛹"
}, },
"leisure=summer_camp": { "leisure=summer_camp": {
"priority": 10,
"priority": 0,
"sign": "🏕" "sign": "🏕"
}, },
"leisure=indoor_play": { "leisure=indoor_play": {
"priority": 8,
"priority": 2,
"sign": "🏠" "sign": "🏠"
}, },
"shop=baby_goods": { "shop=baby_goods": {
"priority": 8,
"priority": 2,
"sign": "<i class=\"fa fa-shopping-cart\"></i>" "sign": "<i class=\"fa fa-shopping-cart\"></i>"
}, },
"shop=toys": { "shop=toys": {
"priority": 8,
"priority": 2,
"sign": "<i class=\"fa fa-shopping-cart\"></i>" "sign": "<i class=\"fa fa-shopping-cart\"></i>"
}, },
"amenity=toilets": { "amenity=toilets": {
"priority": 6,
"priority": 4,
"sign": "🚽🚼" "sign": "🚽🚼"
}, },
"playground=swing": { "playground=swing": {
"priority": 4,
"priority": 8,
"sign": "" "sign": ""
}, },
"default=yes": {
"priority": 0,
"sign": "X"
"default=other": {
"priority": 100,
"sign": ""
} }
} }
} }
Loading…
Cancel
Save