[openstreetmap/openstreetmap-website] leaflet.layers.js - mini map bing maps (#1657)

Alex notifications at github.com
Sun Oct 22 17:14:21 UTC 2017


what speaks against passing the whole `options` here?
https://github.com/openstreetmap/openstreetmap-website/blob/44b817a6d59e9ad120c0fb73686b942581b4af82/app/assets/javascripts/leaflet.layers.js#L53

i wanted to add the bing maps leaflet addon (in my osm fork), which uses not `apikey` but `bingMapsKey`. so by passing the layers options-object instead i can make that plugin work too.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1657
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20171022/d421f416/attachment.html>


More information about the rails-dev mailing list