Browse Source

pt: hide platforms, marker for stops in list

pt
parent
commit
add73ee88d
  1. 16
      pt.json

16
pt.json

@ -109,13 +109,15 @@
" {% endif %}",
"{% 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": {
"color": [
"{{ const[aRoute.tags.route].color|default('#ff0000') }}"
"{{ color|default('#ff0000') }}"
],
"width": "3",
"text": "{{ refs|join(' ') }} ",
@ -125,15 +127,11 @@
},
"style:stop": {
"color": [
"{{ const[aRoute.tags.route].color|default('#ff0000') }}"
"{{ color|default('#ff0000') }}"
],
"width": "5",
"radius": 3
},
"style:platform": {
"color": "#7f7f7f",
"width": "1"
},
"title": "{% if tags.public_transport == 'stop_position' %}{{ tags.name|default(stopName)|default(id) }}{% endif %}",
"listStopsTitle": "{{ tags.name|default(stopName)|default(id) }}",
"listStopsDescription": "{{ refs|join(' ') }}",

Loading…
Cancel
Save