Remove debugging calls

This commit is contained in:
Starbeamrainbowlabs 2019-01-17 16:13:55 +00:00
parent a3cc45a44c
commit 7864051443
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 0 additions and 5 deletions

View File

@ -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);
}