|
@ -109,13 +109,15 @@ |
|
|
" {% endif %}", |
|
|
" {% endif %}", |
|
|
"{% endfor %}", |
|
|
"{% endfor %}", |
|
|
"", |
|
|
"", |
|
|
"{% set refs = refs|unique|natsort({ insensitive: true }) %}" |
|
|
|
|
|
|
|
|
"{% set refs = refs|unique|natsort({ insensitive: true }) %}", |
|
|
|
|
|
"{% set color = const[aRoute.tags.route].color %}" |
|
|
], |
|
|
], |
|
|
"listStopsMarkerSymbol": "{{ markerCircle({})|raw }}", |
|
|
|
|
|
"styles": "{% if isStop %}stop{% elseif isWay %}way{% else %}platform{% endif %}", |
|
|
|
|
|
|
|
|
"listStopsMarkerSymbol": "{{ markerCircle({ width: 5, color: color, fillOpacity: '1', radius: 3 })|raw }}", |
|
|
|
|
|
"listStopsMarkerSign": " ", |
|
|
|
|
|
"styles": "{% if isStop %}stop{% elseif isWay %}way{% else %}{% endif %}", |
|
|
"style:way": { |
|
|
"style:way": { |
|
|
"color": [ |
|
|
"color": [ |
|
|
"{{ const[aRoute.tags.route].color|default('#ff0000') }}" |
|
|
|
|
|
|
|
|
"{{ color|default('#ff0000') }}" |
|
|
], |
|
|
], |
|
|
"width": "3", |
|
|
"width": "3", |
|
|
"text": "{{ refs|join(' ') }} ", |
|
|
"text": "{{ refs|join(' ') }} ", |
|
@ -125,15 +127,11 @@ |
|
|
}, |
|
|
}, |
|
|
"style:stop": { |
|
|
"style:stop": { |
|
|
"color": [ |
|
|
"color": [ |
|
|
"{{ const[aRoute.tags.route].color|default('#ff0000') }}" |
|
|
|
|
|
|
|
|
"{{ color|default('#ff0000') }}" |
|
|
], |
|
|
], |
|
|
"width": "5", |
|
|
"width": "5", |
|
|
"radius": 3 |
|
|
"radius": 3 |
|
|
}, |
|
|
}, |
|
|
"style:platform": { |
|
|
|
|
|
"color": "#7f7f7f", |
|
|
|
|
|
"width": "1" |
|
|
|
|
|
}, |
|
|
|
|
|
"title": "{% if tags.public_transport == 'stop_position' %}{{ tags.name|default(stopName)|default(id) }}{% endif %}", |
|
|
"title": "{% if tags.public_transport == 'stop_position' %}{{ tags.name|default(stopName)|default(id) }}{% endif %}", |
|
|
"listStopsTitle": "{{ tags.name|default(stopName)|default(id) }}", |
|
|
"listStopsTitle": "{{ tags.name|default(stopName)|default(id) }}", |
|
|
"listStopsDescription": "{{ refs|join(' ') }}", |
|
|
"listStopsDescription": "{{ refs|join(' ') }}", |
|
|