{% load i18n %}{% comment %} The map. An inline SVG plot, server-rendered and dependency-free: no map library, no script, and — unless the owner set VANTAGE["MAP_TILE_URL"] — nothing fetched from anywhere. Every point is a link to its record. The plot is a picture for sighted pointer users; the list under it is the same data for everybody else, and it is where the OpenStreetMap links live. A point on a plot is a poor keyboard target and a worse screen-reader one, so the plot's points stay out of the tab order and the list carries the real controls. {% endcomment %}
{% if map_points %}
{% for tile in map_tiles %} {% endfor %} {% for line in map_graticule %} {% if line.axis == "lat" %} {{ line.label }} {% else %} {{ line.label }} {% endif %} {% endfor %} {% for point in map_points %} {{ point.title }} ({{ point.lat }}, {{ point.lng }}) {% endfor %}
{% blocktranslate count counter=map_points|length %}{{ counter }} location{% plural %}{{ counter }} locations{% endblocktranslate %} {% if map_truncated %}— {% blocktranslate with max=map_max %}showing the first {{ max }}; narrow the list with a filter to see the rest.{% endblocktranslate %}{% endif %} {% if map_tiles %}{% translate "Map tiles from the configured tile server." %}{% endif %}
{% else %}

{% blocktranslate with label=panel.get_label_plural|lower %}No {{ label }} have a location.{% endblocktranslate %}

{% endif %}