{% extends "base.html" %} {% block title %}Map - Dune Dashboard{% endblock %} {% block content %}

World Map

{% if db_error %}
{{ db_error }}
{% endif %}
{{ players|length }}
Players
{{ vehicles|length }}
Vehicles
{{ buildings|length }}
Buildings

Filter by Type

Players

{% for p in players %}
{{ p.name }} {{ p.map }}
{% endfor %} {% if not players %}
No player locations
{% endif %}

Vehicles

{% for v in vehicles %} {% set vehicle_name = v.class.split('/')[-1].split('.')[0] if v.class else 'Unknown' %}
{{ vehicle_name|truncate(15) }} {{ v.map }}
{% endfor %} {% if not vehicles %}
No vehicle locations
{% endif %}

Buildings

{% for b in buildings[:50] %}
{{ b.class|truncate(20) }} {{ b.map }}
{% endfor %} {% if not buildings %}
No building locations
{% endif %} {% if buildings|length > 50 %}
+{{ buildings|length - 50 }} more
{% endif %}
{% set current_map = map_config.get(default_map, {}) %} {% set map_image = current_map.get('image') %} {% if map_image %}
Map {# Players - only show if they have pixel coords #} {% for p in players %} {% if p.px is not none and p.py is not none %}
{{ p.name }} (Player)
{% endif %} {% endfor %} {# Vehicles #} {% for v in vehicles %} {% if v.px is not none and v.py is not none %}
{{ v.class.split('/')[-1].split('.')[0] }} (Vehicle)
{% endif %} {% endfor %} {# Buildings #} {% for b in buildings[:30] %} {% if b.px is not none and b.py is not none %}
{{ b.class.split('/')[-1].split('.')[0] }} (Building)
{% endif %} {% endfor %}
{% else %}
🗺️

No Map Available

Map image not configured. Showing coordinate data in list view.

Available Data:
DeepDesert & HaggaBasin locations:
Players: {{ players|length }}
Vehicles: {{ vehicles|length }}
Buildings: {{ buildings|length }}
{% endif %}
{% endblock %}