From 986966b06895d3b1458a1504af71a7242566516b Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Mon, 12 Sep 2022 10:44:07 +0200 Subject: [PATCH] Fix pedestrian layer --- assets/layers/pedestrian_path/pedestrian_path.json | 14 ++++++++++---- .../railway_platforms/railway_platforms.json | 12 ++++++------ assets/themes/stations/stations.json | 11 ++++++++--- 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/assets/layers/pedestrian_path/pedestrian_path.json b/assets/layers/pedestrian_path/pedestrian_path.json index 011acd546..2eef21bf5 100644 --- a/assets/layers/pedestrian_path/pedestrian_path.json +++ b/assets/layers/pedestrian_path/pedestrian_path.json @@ -31,9 +31,15 @@ ] }, { - "color": "#b33", - "width": 4, - "dashArray": "12 6" + "color": { + "render": "#b33" + }, + "width": { + "render": 4 + }, + "dashArray": { + "render": "12 6" + } } ] -} \ No newline at end of file +} diff --git a/assets/layers/railway_platforms/railway_platforms.json b/assets/layers/railway_platforms/railway_platforms.json index 0b09a6f7f..6a3423737 100644 --- a/assets/layers/railway_platforms/railway_platforms.json +++ b/assets/layers/railway_platforms/railway_platforms.json @@ -58,12 +58,12 @@ ], "label": { "mappings": [ - { - "if": "ref~*", - "then": "
{ref}
" - } - ] + { + "if": "ref~*", + "then": "
{ref}
" + } + ] } } ] -} +} \ No newline at end of file diff --git a/assets/themes/stations/stations.json b/assets/themes/stations/stations.json index 473724f87..b702213a5 100644 --- a/assets/themes/stations/stations.json +++ b/assets/themes/stations/stations.json @@ -164,7 +164,10 @@ ], "presets": [ { - "tags": ["amenity=vending_machine", "vending=public_transport_tickets"], + "tags": [ + "amenity=vending_machine", + "vending=public_transport_tickets" + ], "title": { "en": "a ticket machine" } @@ -241,7 +244,9 @@ ], "presets": [ { - "tags": ["departures_board=yes"], + "tags": [ + "departures_board=yes" + ], "title": { "en": "a departures board" }, @@ -261,4 +266,4 @@ ] } ] -} +} \ No newline at end of file