forked from MapComplete/MapComplete
		
	Move import tag into doctest
This commit is contained in:
		
							parent
							
								
									a22ff2f36b
								
							
						
					
					
						commit
						b2c8c2e7a3
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -4,8 +4,6 @@ import {Utils} from "../../Utils";
 | 
				
			||||||
import {UIEventSource} from "../UIEventSource";
 | 
					import {UIEventSource} from "../UIEventSource";
 | 
				
			||||||
import {BBox} from "../BBox";
 | 
					import {BBox} from "../BBox";
 | 
				
			||||||
import * as osmtogeojson from "osmtogeojson";
 | 
					import * as osmtogeojson from "osmtogeojson";
 | 
				
			||||||
// @ts-ignore
 | 
					 | 
				
			||||||
import {Tag} from "../Tags/Tag"; // used in doctest
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Interfaces overpass to get all the latest data
 | 
					 * Interfaces overpass to get all the latest data
 | 
				
			||||||
| 
						 | 
					@ -58,6 +56,10 @@ export class Overpass {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 | 
					     * Constructs the actual script
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     * 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;`
 | 
					     * 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 {
 | 
					    public buildScript(bbox: string, postCall: string = "", pretty = false): string {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue