<p>When loading a page with a note in the link ( e.g. <a href="http://www.openstreetmap.org/?note=6041">http://www.openstreetmap.org/?note=6041</a> ) under certain circumstances the map UI elements can get messed up (pushed around upwards and leftwards ).</p>

<p>This appears to be an issue with the location setting on load based on the location cookie and the location setting due to loading the note.</p>

<p>The following steps reproduce the issue most of the time (both on firefox and chrome):</p>

<p>1) Open the note link ( e.g. <a href="http://www.openstreetmap.org/?note=6041">http://www.openstreetmap.org/?note=6041</a> ). <br>
2) Pan the map so that the note marker disappears off the bottom of the screen, or off the right of the screen.<br>
3) Hit reload.<br>
4) The map will first reload on the location you had last panned to, then very quickly afterwards, the map will automatically pan so that the note is on screen. However, this causes the Zoom elements, the layer chooser, the permalinks and the scale to "pan along with the map" moving them off of the position they are supposed to be.</p>

<p>This does not always happen. Possibly there is a timing aspect to when the new position is updated from the note?</p>

<p>(Originally reported in the forums, so forwarding it here)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/issues/295'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOprbDGzMHNi1v2StVyNkHMmQmXhuiR7qt48_JlRHnp6NU.gif' height='1' width='1'></p>