[openstreetmap/openstreetmap-website] Move markers out of the map div for the embed view (PR #6404)

Tom Hughes notifications at github.com
Wed Sep 24 14:55:05 UTC 2025


tomhughes left a comment (openstreetmap/openstreetmap-website#6404)

It was reproducible for me in firefox with:

```html
<html>
  <head>
    <title>Map</title>
  </head>
  <body>
    <iframe width="425" height="350" src="https://www.openstreetmap.org/export/embed.html?bbox=15.857627391815187%2C46.76306775754699%2C15.882411003112795%2C46.772356640531214&layer=mapnik&marker=46.76771239926923%2C15.87001919746399" style="border: 1px solid black"></iframe><br/><small><a href="https://www.openstreetmap.org/?mlat=46.767712&mlon=15.870019#map=17/46.767712/15.870019&layers=N">View Larger Map</a></small>
  </body>
</html>
```

The marker does get created but as an SVG that refers to symbols that have been deleted from the DOM.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6404#issuecomment-3329068646
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6404/c3329068646 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250924/9b7dd412/attachment.htm>


More information about the rails-dev mailing list