projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
77e3980
)
Use POST for overpass queries
author
Tom Hughes
<tom@compton.nu>
Thu, 13 Mar 2014 19:25:18 +0000
(19:25 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 16 Mar 2014 16:18:13 +0000
(16:18 +0000)
app/assets/javascripts/index/query.js
patch
|
blob
|
history
diff --git
a/app/assets/javascripts/index/query.js
b/app/assets/javascripts/index/query.js
index c0f40d1e1854bec7f300e5bfb63ced0a64652d5f..1a91c202ce9f0ccfc722d8ac05510fc901e95684 100644
(file)
--- a/
app/assets/javascripts/index/query.js
+++ b/
app/assets/javascripts/index/query.js
@@
-178,7
+178,7
@@
OSM.Query = function(map) {
$.ajax({
url: "http://overpass-api.de/api/interpreter",
$.ajax({
url: "http://overpass-api.de/api/interpreter",
- method: "
GE
T",
+ method: "
POS
T",
data: {
data: "[timeout:5][out:json];" + query,
},
data: {
data: "[timeout:5][out:json];" + query,
},