Fix tests

This commit is contained in:
Pieter Vander Vennet 2022-04-28 00:37:30 +02:00
parent cf38356633
commit 90aa94700a
2 changed files with 4 additions and 1 deletions

View file

@ -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 {