Update app.js

This commit is contained in:
Serverlele30 authored and GitHub committed 2025-08-21 06:41:49 +00:00
1 parent 38fd2800bc
commit ab1950167a
1 file changed
+7
+7
View File
@@ -3,6 +3,12 @@
// ==================== // ====================
const map = L.map('map', { zoomControl: false }).setView([52.52, 13.405], 13); const map = L.map('map', { zoomControl: false }).setView([52.52, 13.405], 13);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '© OpenStreetMap contributors'
}).addTo(map);
const vehiclesLayer = L.layerGroup().addTo(map); const vehiclesLayer = L.layerGroup().addTo(map);
const vehicleMarkers = {}; const vehicleMarkers = {};
@@ -214,3 +220,4 @@ setInterval(updateClock, 1000);