[openstreetmap-website] Object query hits javascript error TypeError: t.bounds is undefined (#1156)

mmd notifications at github.com
Mon Mar 7 13:17:50 UTC 2016


Ah, it's really an issue with the delete:

```Javascript
 if ("geometry" in element) {
   delete element.bounds;
  }
``` 

That should only be done for ways, relations need to be excluded.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1156#issuecomment-193244449
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160307/29e8a2ca/attachment.html>


More information about the rails-dev mailing list