From 8065c18fe1189acf83f960b602e99e0826b3d6f9 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 19 May 2021 23:57:26 +0200 Subject: [PATCH] Pretty printing the theme files --- assets/themes/aed/aed.json | 2 +- assets/themes/aed/aed_brugge.json | 2 +- assets/themes/benches/benches.json | 6 ++-- assets/themes/campersites/campersites.json | 2 +- assets/themes/climbing/climbing.json | 4 +-- assets/themes/cyclestreets/cyclestreets.json | 2 +- .../themes/drinking_water/drinking_water.json | 4 +-- .../themes/facadegardens/facadegardens.json | 2 +- assets/themes/fritures/fritures.json | 2 +- assets/themes/fruit_trees/fruit_trees.json | 32 +++++++++++-------- assets/themes/ghostbikes/ghostbikes.json | 16 +++++++--- assets/themes/hailhydrant/hailhydrant.json | 2 +- assets/themes/maps/maps.json | 2 +- .../themes/personalLayout/personalLayout.json | 4 +-- assets/themes/playgrounds/playgrounds.json | 2 +- assets/themes/speelplekken/speelplekken.json | 2 +- .../speelplekken/speelplekken_temp.json | 3 +- .../themes/sport_pitches/sport_pitches.json | 2 +- assets/themes/trees/trees.json | 2 +- 19 files changed, 52 insertions(+), 41 deletions(-) diff --git a/assets/themes/aed/aed.json b/assets/themes/aed/aed.json index bc63c68d13..e10e55168d 100644 --- a/assets/themes/aed/aed.json +++ b/assets/themes/aed/aed.json @@ -33,4 +33,4 @@ "layers": [ "defibrillator" ] -} +} \ No newline at end of file diff --git a/assets/themes/aed/aed_brugge.json b/assets/themes/aed/aed_brugge.json index 6b083ee493..9fc844fce3 100644 --- a/assets/themes/aed/aed_brugge.json +++ b/assets/themes/aed/aed_brugge.json @@ -51,4 +51,4 @@ ], "hideFromOverview": true, "defaultBackgroundId": "HDM_HOT" -} +} \ No newline at end of file diff --git a/assets/themes/benches/benches.json b/assets/themes/benches/benches.json index aa89c8e2d8..5ee52aeffa 100644 --- a/assets/themes/benches/benches.json +++ b/assets/themes/benches/benches.json @@ -29,7 +29,9 @@ "widenFactor": 0.05, "socialImage": "", "layers": [ - "bench","bench_at_pt","picnic_table" + "bench", + "bench_at_pt", + "picnic_table" ], "roamingRenderings": [] -} +} \ No newline at end of file diff --git a/assets/themes/campersites/campersites.json b/assets/themes/campersites/campersites.json index 841c88b750..f6f9abd4ef 100644 --- a/assets/themes/campersites/campersites.json +++ b/assets/themes/campersites/campersites.json @@ -644,4 +644,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/assets/themes/climbing/climbing.json b/assets/themes/climbing/climbing.json index b521a9454f..34503d4c08 100644 --- a/assets/themes/climbing/climbing.json +++ b/assets/themes/climbing/climbing.json @@ -314,7 +314,7 @@ { "#": "Difficulty", "render": { - "en": "Die Schwierigkeit ist {climbing:grade:french} entsprechend des französisch/belgischen Systems", + "de": "Die Schwierigkeit ist {climbing:grade:french} entsprechend des französisch/belgischen Systems", "en": "The difficulty is {climbing:grade:french} according to the french/belgian system", "nl": "De klimmoeilijkheid is {climbing:grade:french} volgens het Franse/Belgische systeem" }, @@ -837,4 +837,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/assets/themes/cyclestreets/cyclestreets.json b/assets/themes/cyclestreets/cyclestreets.json index b0a5ceb5af..10c47a409b 100644 --- a/assets/themes/cyclestreets/cyclestreets.json +++ b/assets/themes/cyclestreets/cyclestreets.json @@ -206,4 +206,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/assets/themes/drinking_water/drinking_water.json b/assets/themes/drinking_water/drinking_water.json index 2492a1e177..0a49cb2293 100644 --- a/assets/themes/drinking_water/drinking_water.json +++ b/assets/themes/drinking_water/drinking_water.json @@ -17,11 +17,11 @@ "version": "0", "startLat": 50.8465573, "defaultBackgroundId": "CartoDB.Voyager", - "startLon": 4.3516970, + "startLon": 4.351697, "startZoom": 16, "widenFactor": 0.05, "layers": [ "drinking_water" ], "roamingRenderings": [] -} +} \ No newline at end of file diff --git a/assets/themes/facadegardens/facadegardens.json b/assets/themes/facadegardens/facadegardens.json index ff165dfe64..02a629531c 100644 --- a/assets/themes/facadegardens/facadegardens.json +++ b/assets/themes/facadegardens/facadegardens.json @@ -324,4 +324,4 @@ } ], "roamingRenderings": [] -} +} \ No newline at end of file diff --git a/assets/themes/fritures/fritures.json b/assets/themes/fritures/fritures.json index 04d0a6c829..2b6c045606 100644 --- a/assets/themes/fritures/fritures.json +++ b/assets/themes/fritures/fritures.json @@ -284,4 +284,4 @@ } ], "roamingRenderings": [] -} +} \ No newline at end of file diff --git a/assets/themes/fruit_trees/fruit_trees.json b/assets/themes/fruit_trees/fruit_trees.json index d6a2e6ba3a..dc59132c91 100644 --- a/assets/themes/fruit_trees/fruit_trees.json +++ b/assets/themes/fruit_trees/fruit_trees.json @@ -28,18 +28,21 @@ "nl": "Boomgaarden" }, "minzoom": 12, - "source":{ - "osmTags": { - "and": [ - "landuse=orchard" - ] - } }, + "source": { + "osmTags": { + "and": [ + "landuse=orchard" + ] + } + }, "title": { "render": { "nl": "Boomgaard" } }, - "tagRenderings": ["images"], + "tagRenderings": [ + "images" + ], "hideUnderlayingFeaturesMinPercentage": 0, "icon": { "render": "./assets/themes/buurtnatuur/forest.svg" @@ -74,12 +77,13 @@ "nl": "Boom" }, "minzoom": 12, - "source":{ - "osmTags": { - "and": [ - "natural=tree" - ] - }}, + "source": { + "osmTags": { + "and": [ + "natural=tree" + ] + } + }, "title": { "render": { "nl": "Boom" @@ -168,4 +172,4 @@ } ], "roamingRenderings": [] -} +} \ No newline at end of file diff --git a/assets/themes/ghostbikes/ghostbikes.json b/assets/themes/ghostbikes/ghostbikes.json index 3c4c5ccf61..51453588ad 100644 --- a/assets/themes/ghostbikes/ghostbikes.json +++ b/assets/themes/ghostbikes/ghostbikes.json @@ -1,15 +1,19 @@ { "id": "ghostbikes", - "maintainer":"MapComplete", + "maintainer": "MapComplete", "version": "2020-08-30", - "language": ["en","nl","de"], + "language": [ + "en", + "nl", + "de" + ], "title": { "en": "Ghost bikes", "nl": "Witte Fietsen", "de": "Geisterrad" }, "description": { - "en": "A ghost bike is a memorial for a cyclist who died in a traffic accident, in the form of a white bicycle placed permanently near the accident location.

On this map, one can see all the ghost bikes which are known by OpenStreetMap. Is a ghost bike missing? Everyone can add or update information here - you only need to have a (free) OpenStreetMap account.", + "en": "A ghost bike is a memorial for a cyclist who died in a traffic accident, in the form of a white bicycle placed permanently near the accident location.

On this map, one can see all the ghost bikes which are known by OpenStreetMap. Is a ghost bike missing? Everyone can add or update information here - you only need to have a (free) OpenStreetMap account.", "nl": "Een Witte Fiets of Spookfiets is een aandenken aan een fietser die bij een verkeersongeval om het leven kwam. Het gaat om een fiets die volledig wit is geschilderd en in de buurt van het ongeval werd geinstalleerd.

Op deze kaart zie je alle witte fietsen die door OpenStreetMap gekend zijn. Ontbreekt er een Witte Fiets of wens je informatie aan te passen? Meld je dan aan met een (gratis) OpenStreetMap account.", "de": "Ein Geisterrad ist ein Denkmal für einen Radfahrer, der bei einem Verkehrsunfall ums Leben kam, in Form eines weißen Fahrrades, das dauerhaft in der Nähe des Unfallortes aufgestellt ist.

Auf dieser Karte kann man alle Geisterräder sehen, die OpenStreetMap kennt. Fehlt ein Geisterrad? Jeder kann hier Informationen hinzufügen oder aktualisieren - Sie benötigen lediglich einen (kostenlosen) OpenStreetMap-Account." }, @@ -18,6 +22,8 @@ "startLat": 0, "startLon": 0, "widenFactor": 0.1, - "layers": ["ghost_bike"], + "layers": [ + "ghost_bike" + ], "defaultBackgroundId": "CartoDB.Positron" -} +} \ No newline at end of file diff --git a/assets/themes/hailhydrant/hailhydrant.json b/assets/themes/hailhydrant/hailhydrant.json index 7ada87c449..ffcd6540eb 100644 --- a/assets/themes/hailhydrant/hailhydrant.json +++ b/assets/themes/hailhydrant/hailhydrant.json @@ -625,4 +625,4 @@ } ], "defaultBackgroundId": "HDM_HOT" -} +} \ No newline at end of file diff --git a/assets/themes/maps/maps.json b/assets/themes/maps/maps.json index 13505a69a4..380ae12197 100644 --- a/assets/themes/maps/maps.json +++ b/assets/themes/maps/maps.json @@ -29,7 +29,7 @@ "widenFactor": 0.05, "socialImage": "", "layers": [ - "map" + "map" ], "roamingRenderings": [] } \ No newline at end of file diff --git a/assets/themes/personalLayout/personalLayout.json b/assets/themes/personalLayout/personalLayout.json index cdccea3552..4be12dbe53 100644 --- a/assets/themes/personalLayout/personalLayout.json +++ b/assets/themes/personalLayout/personalLayout.json @@ -34,6 +34,6 @@ "startLon": 0, "startZoom": 16, "widenFactor": 0.05, - "layers": [ ], + "layers": [], "roamingRenderings": [] -} +} \ No newline at end of file diff --git a/assets/themes/playgrounds/playgrounds.json b/assets/themes/playgrounds/playgrounds.json index fa5bdb7c2b..aeff435f7c 100644 --- a/assets/themes/playgrounds/playgrounds.json +++ b/assets/themes/playgrounds/playgrounds.json @@ -25,7 +25,7 @@ "widenFactor": 0.05, "socialImage": "", "layers": [ - "playground" + "playground" ], "roamingRenderings": [] } \ No newline at end of file diff --git a/assets/themes/speelplekken/speelplekken.json b/assets/themes/speelplekken/speelplekken.json index 19b06092d8..26f8218cd1 100644 --- a/assets/themes/speelplekken/speelplekken.json +++ b/assets/themes/speelplekken/speelplekken.json @@ -271,4 +271,4 @@ ] } } -} +} \ No newline at end of file diff --git a/assets/themes/speelplekken/speelplekken_temp.json b/assets/themes/speelplekken/speelplekken_temp.json index 186b0bab4c..43856c9b8e 100644 --- a/assets/themes/speelplekken/speelplekken_temp.json +++ b/assets/themes/speelplekken/speelplekken_temp.json @@ -240,7 +240,6 @@ "render": "Maakt deel uit van {_part_of_walking_routes}", "condition": "_part_of_walking_routes~*" } - ], "overrideAll": { "isShown": { @@ -253,4 +252,4 @@ ] } } -} +} \ No newline at end of file diff --git a/assets/themes/sport_pitches/sport_pitches.json b/assets/themes/sport_pitches/sport_pitches.json index dac83ad1e3..2bcba95bc7 100644 --- a/assets/themes/sport_pitches/sport_pitches.json +++ b/assets/themes/sport_pitches/sport_pitches.json @@ -32,4 +32,4 @@ "sport_pitch" ], "roamingRenderings": [] -} +} \ No newline at end of file diff --git a/assets/themes/trees/trees.json b/assets/themes/trees/trees.json index 646a256fe9..bf9920138a 100644 --- a/assets/themes/trees/trees.json +++ b/assets/themes/trees/trees.json @@ -32,4 +32,4 @@ ], "roamingRenderings": [], "defaultBackgroundId": "AGIV" -} +} \ No newline at end of file