[openstreetmap/openstreetmap-website] Map Marker only shows when iframe loads on the host page load (Issue #3929)
Tom Hughes
notifications at github.com
Fri Feb 10 16:47:57 UTC 2023
Your diagnosis makes no sense as a frame (or at least a cross domain one like here) has no access to the parent page.
You're correct that all the work is done in `window.onload` but for a frame that will be the load of the frame not the parent document and if that wasn't running then nothing would be displayed as it sets up all the map layers not just the marker.
My guess is that you're mangling the parameters or something when trying to patch in the URL later.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3929#issuecomment-1426073316
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/3929/1426073316 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230210/3e05ccd4/attachment.htm>
More information about the rails-dev
mailing list