[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...


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:
-------------- 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