From 1ecf1467664f1d80dcc577a919cd19404a39e306 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 30 Apr 2018 18:53:52 +0100 Subject: [PATCH] Add terminating semicolon to overpass query Fixes #1843 --- app/assets/javascripts/index/query.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/index/query.js b/app/assets/javascripts/index/query.js index c01caba70..3da84c7d9 100644 --- a/app/assets/javascripts/index/query.js +++ b/app/assets/javascripts/index/query.js @@ -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") -- 2.39.5