@ -65,12 +65,13 @@
] ,
"description" : "{{ tagTrans('route', tags.route) }}" ,
"body" : [
"<h4>Stops {{ map.zoom }} </h4>" ,
"<h4>Stops</h4><ul >" ,
"{% for member in members %}" ,
"{% if member.role|slice(-4) == 'stop' %}" ,
"<div object='{{ member.id }}' sublayer='member'><b>{{ member.tags.name }}</b></d iv >" ,
"<li data-object='{{ member.id }}' data- sublayer='member'><b>{{ member.tags.name|default(member.id) }}</l i>" ,
"{% endif %}" ,
"{% endfor %}"
"{% endfor %}" ,
"</ul>"
] ,
"listStopsExclude" : "true" ,
"listRoutesMarkerSign" : "{{ const[tags.route].sign|raw }}" ,
@ -87,11 +88,15 @@
"width" : "{% if map.zoom>=15 %}5{% else %}3{% endif %}"
} ,
"title" : "{% if tags.public_transport == 'stop_position' %}{{ tags.name }}{% endif %}" ,
"listStopsTitle" : "{{ tags.name }}<br/>{% for master in masters %}{{ master.tags.ref }} {% endfor %}" ,
"listStopsTitle" : "{{ tags.name }}" ,
"listStopsDescription" : "{% for master in masters %}{{ master.tags.ref }} {% endfor %}" ,
"body" : [
"<h4>Routes</h4>" ,
"<ul>" ,
"{% for master in masters %}" ,
" '<div object=\"{{ master.id }}\"><b>{{ master.tags.name|default(master.tags.ref) }}</b> ({{ master.id }})</div>" ,
"{% endfor %}"
" <li data-object=\"{{ master.id }}\"><b>{{ master.tags.name|default(master.tags.ref) }}</li>" ,
"{% endfor %}" ,
"</ul>"
] ,
"listRoutesExclude" : "true" ,
"listStopsExclude" : "{% set isStop = 0 %}{% for master in masters %}{% if master.role|slice(-4) == 'stop' %}{% set isStop = 1 %}{% endif %}{% endfor %}{{ not isStop }}"