Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Marker in wrong place in Export > Embeddable HTML #4068

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Marker in wrong place in Export > Embeddable HTML #4068

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: david[at]frankieandshadow.com
[Submitted to the original trac issue database at 6.02pm, Thursday, 27th October 2011]

When you click add marker to the map in the Embeddable HTML section of the Export tab, and click, most times but not always the marker appears some way to the right of where you click. (It looks like it might be offset by the width of the export details panel, at a guess)

@openstreetmap-trac
Copy link
Author

Author: emj
[Added to the original trac issue at 8.34pm, Thursday, 27th October 2011]

Indeed, the cyan colored dot is offset until you click on the map.

@openstreetmap-trac
Copy link
Author

Author: crschmidt
[Added to the original trac issue at 3.21am, Sunday, 22nd April 2012]

This probably indicates that map.updateSize() which clears the offsets of the map needs to be called after the page layout changes, which should fix this behavior.

@openstreetmap-trac
Copy link
Author

Author: david[at]frankieandshadow.com
[Added to the original trac issue at 12.13pm, Sunday, 22nd April 2012]

Thanks, but someone fixed this a long time ago, so I'm marking it as fixed now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant