Make overpass server URL configurable

This commit is contained in:
Tom Hughes 2014-03-13 19:28:45 +00:00
parent 913da4a8db
commit 5f970fe334
3 changed files with 4 additions and 1 deletions

View file

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