fix: add transport_mode to entry JSON serialisation in all three map templates; note bbox approach in isNearTrack

This commit is contained in:
2026-06-20 00:54:04 +02:00
parent 3301f049cc
commit 37c38e925a
4 changed files with 9 additions and 3 deletions
@@ -24,7 +24,8 @@
'title': item.page.title,
'slug': item.page.slug,
'url': item.page.url,
'force_connect': item.page.header.force_connect ? true : false
'force_connect': item.page.header.force_connect ? true : false,
'transport_mode': item.page.header.transport_mode ? item.page.header.transport_mode : null
}]) %}
{% endif %}
{% endfor %}