Browse Source

pt: instead of circles on stops use markers of type circle (always on top)

pattern
parent
commit
2ab2a904b2
  1. 8
      pt.json

8
pt.json

@ -118,13 +118,14 @@
"{% endfor %}", "{% endfor %}",
"</ul>" "</ul>"
], ],
"styles": "{% if isStop and stopCount > 0 %}stop{% elseif isWay %}way{% else %}{% endif %}",
"styles": "{% if isStop and stopCount > 0 %}{% elseif isWay %}way{% else %}{% endif %}",
"listStopsMarkerSign": null, "listStopsMarkerSign": null,
"listStopsMarkerSymbol": "{{ markerCircle({ width: 5, color: color, fillOpacity: '1', radius: 3 })|raw }}", "listStopsMarkerSymbol": "{{ markerCircle({ width: 5, color: color, fillOpacity: '1', radius: 3 })|raw }}",
"listStopsExclude": "{{ not isStop or stopCount == 0 }}", "listStopsExclude": "{{ not isStop or stopCount == 0 }}",
"listStopsTitle": "{% if tags %}{{ tags.name|default(stopName)|default(trans('unknown')) }}{% else %}<li>{{ trans('loading') }}</li>{% endif %}", "listStopsTitle": "{% if tags %}{{ tags.name|default(stopName)|default(trans('unknown')) }}{% else %}<li>{{ trans('loading') }}</li>{% endif %}",
"listStopsDescription": "{{ refs|join(' · ') }}", "listStopsDescription": "{{ refs|join(' · ') }}",
"listRoutesExclude": "true", "listRoutesExclude": "true",
"markerSymbol": "{% if isStop and stopCount > 0 %}{{ markerCircle({ width: 0, fill: true, fillColor: color, fillOpacity: '1', radius: 5 })|raw }}{% endif %}",
"style:way": { "style:way": {
"width": "3", "width": "3",
"color": "{{ color|default('#ff0000') }}", "color": "{{ color|default('#ff0000') }}",
@ -132,11 +133,6 @@
"textRepeat": "1", "textRepeat": "1",
"textOffset": "12", "textOffset": "12",
"textFontWeight": "bold" "textFontWeight": "bold"
},
"style:stop": {
"width": "5",
"color": "{{ color|default('#ff0000') }}",
"radius": "3"
} }
}, },
"info": [ "info": [

Loading…
Cancel
Save