Remove debugging calls

pull/26/head
Starbeamrainbowlabs 4 years ago
parent a3cc45a44c
commit 7864051443
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 5
      client_src/js/LayerDeviceMarkers.mjs

@ -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…
Cancel
Save