From 3c3a26b01dc8477bcd46c9c12713d3f3b7805709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Tue, 26 Mar 2019 15:37:08 +0100 Subject: [PATCH] water: show intermittet waterways with dashed line --- water.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/water.json b/water.json index 5ca9357..879020d 100644 --- a/water.json +++ b/water.json @@ -70,7 +70,9 @@ "{{ tags.name }} ➔ ", "{% endif %}" ], - "textRepeat": "1" + "textRepeat": "1", + "dashArray": "{% if tags.intermittent == 'yes' %}5,5{% endif %}", + "lineCap": "{% if tags.intermittent == 'yes' %}butt{% else %}round{% endif %}" } }, "const": { @@ -243,6 +245,10 @@ " ", " {% endif %}", " {% endfor %}", + " ", + " {{ markerLine({ width: 3, color: '#3388ff', dashArray: '5,5', lineCap: 'butt' })|raw }}", + " {{ keyTrans('intermittent') }}", + " ", "" ] }