Update app.js
This commit is contained in:
1 parent
38fd2800bc
commit
ab1950167a
1 file changed
+7
@@ -3,6 +3,12 @@
|
||||
// ====================
|
||||
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 vehicleMarkers = {};
|
||||
|
||||
@@ -214,3 +220,4 @@ setInterval(updateClock, 1000);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user