From 83b75735ce291dfcb0e82d5c8d74704c455c3aeb Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Mon, 8 Nov 2021 15:31:25 +0100 Subject: [PATCH] Fixes to the layers --- assets/layers/food/food.json | 3 +- .../observation_tower/observation_tower.json | 3 +- assets/layers/parking/parking.json | 6 ++-- assets/layers/play_forest/play_forest.json | 4 +-- assets/layers/sport_pitch/sport_pitch.json | 3 +- assets/layers/toilet/toilet.json | 34 +++++++++---------- assets/themes/climbing/climbing.json | 9 +++-- 7 files changed, 34 insertions(+), 28 deletions(-) diff --git a/assets/layers/food/food.json b/assets/layers/food/food.json index e6dc75f5a..260d281ad 100644 --- a/assets/layers/food/food.json +++ b/assets/layers/food/food.json @@ -671,7 +671,8 @@ ] }, "location": [ - "point", "centroid" + "point", + "centroid" ] } ] diff --git a/assets/layers/observation_tower/observation_tower.json b/assets/layers/observation_tower/observation_tower.json index 90bbd0e28..c098033d0 100644 --- a/assets/layers/observation_tower/observation_tower.json +++ b/assets/layers/observation_tower/observation_tower.json @@ -202,7 +202,8 @@ "render": "40,40,center" }, "location": [ - "point","centroid" + "point", + "centroid" ] } ] diff --git a/assets/layers/parking/parking.json b/assets/layers/parking/parking.json index 97bcfb3fb..8e7764b35 100644 --- a/assets/layers/parking/parking.json +++ b/assets/layers/parking/parking.json @@ -9,13 +9,13 @@ }, "title": { "render": { - "nl": "Autoparking", + "nl": "Parking voor auto's", "en": "Car parking" } }, "description": { "en": "A layer showing car parkings", - "nl": "Deze laag toont autoparkeerplaatsen" + "nl": "Deze laag toont autoparkings" }, "tagRenderings": [ "images" @@ -26,7 +26,7 @@ "amenity=parking" ], "title": { - "nl": "autoparking", + "nl": "parking voor auto's", "en": "car parking" } } diff --git a/assets/layers/play_forest/play_forest.json b/assets/layers/play_forest/play_forest.json index 80573798b..227311cad 100644 --- a/assets/layers/play_forest/play_forest.json +++ b/assets/layers/play_forest/play_forest.json @@ -106,7 +106,7 @@ ], "mapRendering": [ { - "icon" : "./assets/layers/play_forest/icon.svg", + "icon": "./assets/layers/play_forest/icon.svg", "iconSize": { "render": "40,40,center" }, @@ -117,7 +117,7 @@ }, { "color": "#007055", - "width": "2" + "width": "2" } ] } \ No newline at end of file diff --git a/assets/layers/sport_pitch/sport_pitch.json b/assets/layers/sport_pitch/sport_pitch.json index bc835b562..c3d7f38e1 100644 --- a/assets/layers/sport_pitch/sport_pitch.json +++ b/assets/layers/sport_pitch/sport_pitch.json @@ -519,7 +519,8 @@ ] }, "location": [ - "point","centroid" + "point", + "centroid" ] }, { diff --git a/assets/layers/toilet/toilet.json b/assets/layers/toilet/toilet.json index 92ec0bb77..1d10bb9f9 100644 --- a/assets/layers/toilet/toilet.json +++ b/assets/layers/toilet/toilet.json @@ -478,23 +478,6 @@ } ], "filter": [ - { - "id": "is_open", - "options": [ - { - "question": { - "nl": "Nu geopened", - "en": "Opened now" - }, - "osmTags": { - "or": [ - "opening_hours=", - "_isOpen=yes" - ] - } - } - ] - }, { "id": "wheelchair", "options": [ @@ -539,6 +522,23 @@ } } ] + }, + { + "id": "is_open", + "options": [ + { + "question": { + "nl": "Nu geopened", + "en": "Opened now" + }, + "osmTags": { + "or": [ + "opening_hours=", + "_isOpen=yes" + ] + } + } + ] } ], "deletion": { diff --git a/assets/themes/climbing/climbing.json b/assets/themes/climbing/climbing.json index 19a2ffa09..70e211855 100644 --- a/assets/themes/climbing/climbing.json +++ b/assets/themes/climbing/climbing.json @@ -224,7 +224,8 @@ "render": "40,40,center" }, "location": [ - "point","centroid" + "point", + "centroid" ] } ] @@ -332,7 +333,8 @@ "render": "40,40,center" }, "location": [ - "point","centroid" + "point", + "centroid" ] } ] @@ -1010,7 +1012,8 @@ { "icon": "./assets/themes/climbing/climbing_unknown.svg", "location": [ - "point","centroid" + "point", + "centroid" ] }, {