[openstreetmap-website] Exposing the map object for Javascript plugins (#1166)

Tom Hughes notifications at github.com
Sat Feb 27 16:17:26 UTC 2016


I believe we have already refused this in the past.

Certainly I have no wish to expose any sort of API in this way - if anything my goal is to eliminate all global scope variables in our javascript.

Consider this - if we had done back when we were using OpenLayers what sort of screams of protest would there have been when we switched to Leaflet and everything broken because our "API" had changed? That's why I don't want to codify anything here.

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


More information about the rails-dev mailing list