{ "type": "overpass", "name": { "de": "Einrichtungen für Kinder", "en": "Children amenities", "fr": "Équipements pour enfants", "pt-br": "Equipamentos Infantis" }, "query": { "15": [ "(", "node[leisure~'^(playground|summer_camp|indoor_play)$'];", "way[leisure~'^(playground|summer_camp|indoor_play)$'];", "relation[leisure~'^(playground|summer_camp|indoor_play)$'];", "node[shop~'^(baby_goods|toys)$'];", "way[shop~'^(baby_goods|toys)$'];", "relation[shop~'^(baby_goods|toys)$'];", "node[amenity=toilets][diaper];", "way[amenity=toilets][diaper];relation[amenity=toilets][diaper];", "node[kids_area];", "way[kids_area];", "relation[kids_area];", ");" ], "17": [ "(", "node[leisure~'^(playground|summer_camp|indoor_play)$'];", "way[leisure~'^(playground|summer_camp|indoor_play)$'];", "relation[leisure~'^(playground|summer_camp|indoor_play)$'];", "node[shop~'^(baby_goods|toys)$'];", "way[shop~'^(baby_goods|toys)$'];", "relation[shop~'^(baby_goods|toys)$'];", "node[amenity=toilets][diaper];", "way[amenity=toilets][diaper];relation[amenity=toilets][diaper];", "node[kids_area];", "way[kids_area];", "relation[kids_area];", "node[playground];", "way[playground];", "relation[playground];", ");" ] }, "feature": { "pre": [ "{% if tags.leisure %}", " {% set key = 'leisure' %}", " {% set value = tags.leisure %}", "{% elseif tags.kids_area %}", " {% set key = 'kids_area' %}", " {% set value = tags.kids_area %}", "{% elseif tags.shop %}", " {% set key = 'shop' %}", " {% set value = tags.shop %}", "{% elseif tags.playground %}", " {% set key = 'playground' %}", " {% set value = tags.playground %}", "{% else %}", " {% set key = 'amenity' %}", " {% set value = tags.amenity %}", "{% endif %}", "", "{% 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)) }}", "description": "{{ type_data }}", "markerSign": "{{ type_data.sign|raw }}", "priority": "{{ type_data.priority }}", "style": { "fillColor": "{% if tags.playground!='' %}#3388ff{% else %}#1dc140{% endif %}" } }, "info": [ "
{{ markerCircle({})|raw }} {{ data.sign|raw }} | ",
" {{ tagTrans(value|split('=')[0], value|split('=')[1]) }} | ", "