]> git.openstreetmap.org Git - rails.git/commitdiff
Add terminating semicolon to overpass query
authorTom Hughes <tom@compton.nu>
Mon, 30 Apr 2018 17:53:52 +0000 (18:53 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 30 Apr 2018 17:54:31 +0000 (18:54 +0100)
Fixes #1843

app/assets/javascripts/index/query.js

index c01caba700cc3f41bbe2ee1387d099c3d9524dc1..3da84c7d90e46b214575cf44212070bcbe4217c2 100644 (file)
@@ -287,7 +287,7 @@ OSM.Query = function(map) {
       nodes = "node(" + around + ")",
       ways = "way(" + around + ")",
       relations = "relation(" + around + ")",
-      nearby = "(" + nodes + ";" + ways + ");out tags geom(" + bbox + ");" + relations + ";out geom(" + bbox + ");",
+      nearby = "(" + nodes + ";" + ways + ";);out tags geom(" + bbox + ");" + relations + ";out geom(" + bbox + ");",
       isin = "is_in(" + lat + "," + lng + ")->.a;way(pivot.a);out tags bb;out ids geom(" + bbox + ");relation(pivot.a);out tags bb;";
 
     $("#sidebar_content .query-intro")