forked from MapComplete/MapComplete
Remove JS
This commit is contained in:
parent
2f510e9143
commit
14a5c7406a
18 changed files with 2 additions and 2152 deletions
|
@ -32,7 +32,7 @@ export class Overpass {
|
|||
|
||||
queryGeoJson(bbox: string, continuation: ((any) => void), onFail: ((reason) => void)): void {
|
||||
let query = this.buildQuery(bbox);
|
||||
|
||||
|
||||
if(Overpass.testUrl !== null){
|
||||
console.log("Using testing URL")
|
||||
query = Overpass.testUrl;
|
||||
|
@ -44,7 +44,7 @@ export class Overpass {
|
|||
console.log("Query failed")
|
||||
onFail(status);
|
||||
}
|
||||
|
||||
|
||||
if(json.elements === [] && json.remarks.indexOf("runtime error") > 0){
|
||||
console.log("Timeout or other runtime error");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue