From 3d3901dae66d4f1dfadd21a6281ec3777fe4f8e7 Mon Sep 17 00:00:00 2001
From: aAXEe <aaxee@noreply.openstreetbrowser.org>
Date: Fri, 13 Jul 2018 09:26:05 +0200
Subject: [PATCH] change style

---
 children.json | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/children.json b/children.json
index 89ec41dc..054f13e1 100644
--- a/children.json
+++ b/children.json
@@ -27,6 +27,7 @@
         ]
     },
     "feature": {
+        "title": "{{ localizedTag(tags, 'name') |default(localizedTag(tags, 'operator')) | default(localizedTag(tags, 'ref')) | default(tagTrans('leisure', tags.leisure))| default(tagTrans('shop', tags.shop))| default(tagTrans('amenity', tags.amenity))| default(tagTrans('playground', tags.playground)) }}",
         "description": [
             "{% if tags.leisure=='playground' %}",
             "{{ tagTrans('leisure', 'playground') }}",
@@ -54,7 +55,10 @@
             "{% elseif tags.amenity=='toilets' and tags.diaper %}",
             "🚽🚼",
             "{% endif %}"
-        ]
+        ],
+        "style": {
+            "fillColor": "{% if tags.playground!=='' %}#3388ff{% else %}#1dc140{% endif %}"
+        }
     },
     "info": [
         "<table>",