forked from MapComplete/MapComplete
Intermediate refactoring
This commit is contained in:
parent
069cddf034
commit
7b80e945bb
16 changed files with 43 additions and 44 deletions
|
@ -60,7 +60,6 @@ export class Imgur {
|
|||
}
|
||||
|
||||
|
||||
console.log(data);
|
||||
const licenseInfo = new LicenseInfo();
|
||||
|
||||
licenseInfo.licenseShortName = data.license;
|
||||
|
|
|
@ -57,8 +57,7 @@ export class LayerUpdater {
|
|||
}
|
||||
|
||||
private handleFail(reason: any) {
|
||||
console.log("QUERY FAILED", reason);
|
||||
console.log("Retrying in 1s")
|
||||
console.log("QUERY FAILED (retrying in 1 sec)", reason);
|
||||
this.previousBounds = undefined;
|
||||
const self = this;
|
||||
window.setTimeout(
|
||||
|
@ -73,7 +72,6 @@ export class LayerUpdater {
|
|||
}
|
||||
console.log("Zoom level: ",this._map.map.getZoom(), "Least needed zoom:", this._minzoom)
|
||||
if (this._map.map.getZoom() < this._minzoom || this._map.Location.data.zoom < this._minzoom) {
|
||||
console.log("Not running query: zoom not sufficient");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue