add frontend angular

This commit is contained in:
Tykayn 2025-10-02 22:53:50 +02:00 committed by tykayn
parent f34a5f0a83
commit 070e8435d8
36 changed files with 10209 additions and 6 deletions

View file

@ -54,7 +54,7 @@
zoom: 4
});
map.addControl(new maplibregl.NavigationControl());
fetch('/event?what={{ selected_what }}&limit=500')
fetch('https://api.openeventdatabase.org/event?what={{ selected_what }}&limit=500')
.then(r => r.json())
.then(data => {
if (!data.features || !data.features.length) return;

View file

@ -109,6 +109,10 @@
<i class="fas fa-traffic-light"></i>
Embouteillage
</div>
<div class="issue-button road traffic-jam" onclick="fillForm('traffic_mammoth')">
<i class="fas fa-traffic-light"></i>
Mammouth
</div>
</div>
</div>