Make overpass server URL configurable
This commit is contained in:
parent
913da4a8db
commit
5f970fe334
3 changed files with 4 additions and 1 deletions
|
@ -177,7 +177,7 @@ OSM.Query = function(map) {
|
|||
});
|
||||
|
||||
$.ajax({
|
||||
url: "http://overpass-api.de/api/interpreter",
|
||||
url: OSM.OVERPASS_URL,
|
||||
method: "POST",
|
||||
data: {
|
||||
data: "[timeout:5][out:json];" + query,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue