X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0ff7a928e4359b177a43b7d2e8e1e0e468c2be53..6e154d48c0e77ea110fc93772c6a2be113a90bb1:/app/assets/javascripts/index/query.js diff --git a/app/assets/javascripts/index/query.js b/app/assets/javascripts/index/query.js index 1e1dc2ed1..86f24e046 100644 --- a/app/assets/javascripts/index/query.js +++ b/app/assets/javascripts/index/query.js @@ -189,6 +189,9 @@ OSM.Query = function(map) { if (merge) { elements = results.elements.reduce(function (hash, element) { var key = element.type + element.id; + if ("geometry" in element) { + delete element.bounds; + } hash[key] = $.extend({}, hash[key], element); return hash; }, {});