Browse Source

debug

playgrounds
Axel Utech 7 years ago
parent
commit
742b0a8edc
  1. 5
      children.json

5
children.json

@ -60,9 +60,10 @@
" {% set value = tags.amenity %}", " {% set value = tags.amenity %}",
"{% endif %}", "{% endif %}",
"", "",
"{% set type_data = const[key + '=' + value] |default(const['default']) %}"
"{% set type_data = const[key + '=' + value] |default(const['default=yes']) %}"
], ],
"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": {
@ -110,7 +111,7 @@
}, },
"default=yes": { "default=yes": {
"priority": 0, "priority": 0,
"sign": ""
"sign": "X"
} }
} }
} }
Loading…
Cancel
Save