mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-25 06:53:00 +00:00
Remove debugging calls
This commit is contained in:
parent
a3cc45a44c
commit
7864051443
1 changed files with 0 additions and 5 deletions
|
@ -15,21 +15,16 @@ class LayerDeviceMarkers {
|
|||
// Create a new clustering layer
|
||||
this.layer = L.markerClusterGroup();
|
||||
|
||||
console.log("Loading device list");
|
||||
// Fetch the device list
|
||||
let device_list = JSON.parse(await GetFromUrl(
|
||||
`${Config.api_root}?action=list-devices&only-with-location=yes`
|
||||
));
|
||||
|
||||
console.log("Device list loaded");
|
||||
|
||||
// Add a marker for each device
|
||||
for (let device of device_list) {
|
||||
this.add_device_marker(device);
|
||||
}
|
||||
|
||||
console.log("Device markers created");
|
||||
|
||||
// Display this layer
|
||||
this.map.addLayer(this.layer);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue