diff --git a/buildings.json b/buildings.json index 8c16eb3ef..6b262cac3 100644 --- a/buildings.json +++ b/buildings.json @@ -28,7 +28,7 @@ "{{ p }}" ], "style": { - "weight": "1", + "width": "1", "color": "#000000", "fillColor": "#000000" } diff --git a/car_maxspeed.json b/car_maxspeed.json index 871a5fe8a..fbfc74107 100644 --- a/car_maxspeed.json +++ b/car_maxspeed.json @@ -51,7 +51,7 @@ "markerSign": null, "listMarkerSymbol": "line", "style": { - "weight": "3", + "width": "3", "color": "{{ color }}" } }, diff --git a/cycle_routes.json b/cycle_routes.json index a3d96f3ca..918b37488 100644 --- a/cycle_routes.json +++ b/cycle_routes.json @@ -13,7 +13,7 @@ "feature": { "priority": "{% if tags.network=='icn' %}0{% elseif tags.network=='ncn' %}1{% elseif tags.network=='rcn' %}2{% else %}3{% endif %}", "style": { - "weight": 4, + "width": 4, "color": "{% if tags.network=='icn' %}#ff0000{% elseif tags.network=='ncn' %}#ff007f{% elseif tags.network=='rcn' %}#7f00ff{% else %}#0000ff{% endif %}", "opacity": 1 } diff --git a/railway-electrification.json b/railway-electrification.json index 9c27746fe..8db35c562 100644 --- a/railway-electrification.json +++ b/railway-electrification.json @@ -21,16 +21,16 @@ "{%endif %}", "", "{% if tags.service == 'yard' or tags.service == 'siding' or tags.service == 'spur' or tags.service == 'crossover' %}", - " {% set weight=2 %}", + " {% set width=2 %}", " {% else %}", " {% if tags.railway == 'rail' %}", " {% if tags.usage == 'main' or tags.usage == 'branch' %}", - " {% set weight=3 %}", + " {% set width=3 %}", " {% else %}", - " {% set weight=2.5 %}", + " {% set width=2.5 %}", " {% endif %}", " {% else %}", - " {% set weight=2 %}", + " {% set width=2 %}", " {% endif %}", "{% endif %}" ], @@ -57,7 +57,7 @@ "styles": "casing,default", "priority": "{% if tags.railway == 'station' %}0{% elseif tags.railway in [ 'halt', 'tram_stop' ] %}1{% else %}5{% endif %}", "style": { - "weight": "{{ weight }}", + "width": "{{ width }}", "lineCap": "butt", "color": "{{ color }}", "opacity": "1", @@ -71,7 +71,7 @@ ] }, "style:casing": { - "weight": "{{ weight }}", + "width": "{{ width }}", "color": "white", "opacity": "1", "fill": null @@ -81,13 +81,13 @@ "
{{ markerLine({ 'weight': 3, 'color': color })|raw }} | ", + "{{ markerLine({ 'width': 3, 'color': color })|raw }} | ", "{{ trans('not electrified') }} | ", "
{{ markerLine({ 'weight': 3, 'color': color })|raw }} | ", + "{{ markerLine({ 'width': 3, 'color': color })|raw }} | ", "{{ i }}V | ", "
{{ markerLine({ 'weight': 3, 'color': color })|raw }} | ", + "{{ markerLine({ 'width': 3, 'color': color })|raw }} | ", "{{ i }}V | ", "
{{ markerLine({ 'weight': 3, 'color': color })|raw }} | ", + "{{ markerLine({ 'width': 3, 'color': color })|raw }} | ", "{{ trans('direct current') }} | ", "
{{ markerLine({ 'styles': [ 'casing', 'default' ], 'style:casing': { 'weight': 3, 'color': 'white' }, 'style': { 'weight': '3', 'dashArray': '5,2', 'lineCap': 'butt', 'color': color } })|raw }} | ", + "{{ markerLine({ 'styles': [ 'casing', 'default' ], 'style:casing': { 'width': 3, 'color': 'white' }, 'style': { 'width': '3', 'dashArray': '5,2', 'lineCap': 'butt', 'color': color } })|raw }} | ", "{{ trans('alternating current') }} | ", "