forked from MapComplete/MapComplete
Fix tests
This commit is contained in:
parent
cf38356633
commit
90aa94700a
2 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,7 @@ import {UIEventSource} from "../UIEventSource";
|
|||
import {BBox} from "../BBox";
|
||||
import * as osmtogeojson from "osmtogeojson";
|
||||
|
||||
|
||||
/**
|
||||
* Interfaces overpass to get all the latest data
|
||||
*/
|
||||
|
@ -56,6 +57,8 @@ export class Overpass {
|
|||
}
|
||||
|
||||
/**
|
||||
* import {Tag} from "../Tags/Tag";
|
||||
*
|
||||
* new Overpass(new Tag("key","value"), [], "").buildScript("{{bbox}}") // => `[out:json][timeout:90]{{bbox}};(nwr["key"="value"];);out body;out meta;>;out skel qt;`
|
||||
*/
|
||||
public buildScript(bbox: string, postCall: string = "", pretty = false): string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue