From 90fbb6110f8ee55e13fbe4f028f33f2624c5f4dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sat, 10 Jun 2017 21:00:37 +0200 Subject: [PATCH] Change logic of loader; register types --- gastro.json | 1 + parks.json | 1 + trees.json | 1 + 3 files changed, 3 insertions(+) diff --git a/gastro.json b/gastro.json index d196994..8db8016 100644 --- a/gastro.json +++ b/gastro.json @@ -1,4 +1,5 @@ { + "type": "category", "query": "(node[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];way[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];relation[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];);", "minZoom": 16, "markerSign": "{% if tags.amenity=='bar' %}🍸{% elseif tags.amenity=='biergarten'%}🍻{% elseif tags.amenity=='cafe' %}☕{% elseif tags.amenity=='fast_food' %}🍔{% elseif tags.amenity=='ice_cream' %}🍨{% elseif tags.amenity=='pub' %}🍺{% else %}🍴{% endif %}", diff --git a/parks.json b/parks.json index 9c5dcd4..4526a04 100644 --- a/parks.json +++ b/parks.json @@ -1,4 +1,5 @@ { + "type": "category", "query": "(way[leisure=park];relation[leisure=park];)", "style": { "color": "green", diff --git a/trees.json b/trees.json index a824345..ab8e367 100644 --- a/trees.json +++ b/trees.json @@ -1,4 +1,5 @@ { + "type": "category", "query": "node[natural=tree];", "style": { "nodeFeature": "CircleMarker",