[openstreetmap-website] Javascript error in embed.html when using a marker (#909)
vincentdephily
notifications at github.com
Tue Feb 24 12:36:44 UTC 2015
The code for embeding a map in an iframe is currently broken when a marker is included. In Firefox 35 I can see the zoom controls but no tile. Firebug says
ReferenceError: OSM is not defined
...arker(e.marker.split(","),{icon:L.icon({iconUrl:OSM.MARKER_ICON,iconSize:new L.P...
http://www.openstreetmap.org/export/embed.html?bbox=4.3248796463012695%2C46.03386170107126%2C4.33086633682251%2C46.03593974142237&layer=transportmap&marker=46.03490073101441%2C4.32787299156189
If you remove or mangle the 'marker' query string, it renders correctly (but lacking a marker).
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/909
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150224/855d4bf0/attachment.html>
More information about the rails-dev
mailing list