fix: Use dedicated context variable for map to not interfer withother displays

This commit is contained in:
2024-09-28 13:56:10 +02:00
parent 6f10bfca80
commit 4e4f120239
2 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
zoom: 5
}).addControl(new maplibregl.NavigationControl());
{% for adoption_notice in adoption_notices %}
{% for adoption_notice in adoption_notices_map %}
{% if adoption_notice.location %}
// create the popup
const popup_{{ forloop.counter }} = new maplibregl.Popup({offset: 25}).setHTML(`{% include "fellchensammlung/partials/partial-adoption-notice-minimal.html" %}`);