From ee122d496fb9125544da1f6d458be0422a50b8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Mon, 12 Jun 2017 10:57:49 +0200 Subject: [PATCH] Children category --- children.json | 7 +++++++ index.json | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 children.json diff --git a/children.json b/children.json new file mode 100644 index 000000000..4bf56be82 --- /dev/null +++ b/children.json @@ -0,0 +1,7 @@ +{ + "type": "category", + "query": "(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];);", + "minZoom": 15, + "markerSign": "{% if tags.leisure=='playground' %}⛹{% elseif tags.leisure=='summer_camp'%}🏕{% elseif tags.leisure=='indoor_play' or tags.kids_area %}🏠{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}{% elseif tags.amenity=='toilets' and tags.diaper %}🚽🚼{% endif %}", + "featureBody": "{% if tags.leisure=='playground' %}playground{% elseif tags.leisure=='summer_camp'%}summer_camp{% elseif tags.leisure=='indoor_play' %}indoor_play{% elseif tags.kids_area %}kids_area{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}shop for {{ tags.shop }}{% elseif tags.amenity=='toilets' and tags.diaper %}toilets with diaper changing table{% endif %}" +} diff --git a/index.json b/index.json index ca2bbd6a2..cb0ed50e7 100644 --- a/index.json +++ b/index.json @@ -13,6 +13,10 @@ { "id": "shop", "name:en": "Shopping" + }, + { + "id": "children", + "name:en": "Children" } ] },