<p>The problem is that the marker for the share panel deliberately tracks the centre of the map - the marker always stays in the centre and if you drag the map then the marker is repositioned to stay in the centre.</p>

<p>Unfortunately the share panel can't tell the difference between a move caused by the user and a move caused by closing the left sidebar, and even if it could I'm not sure what it could do - the share UI is deliberately designed so that the marker stays in the middle of the map. The only option I guess would be to move the map so the marker stayed in the same place.</p>

<p>Maybe <a href="https://github.com/jfire" class="user-mention">@jfire</a> has some thoughts?</p>

<p>It doesn't seem to be related to <a href="https://github.com/openstreetmap/openstreetmap-website/issues/729" class="issue-link" title="In certain situations, closing the pane with information about an element moves the center of map to a different position">#729</a> anyway.</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/734#issuecomment-46116226">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxODQ1OTUxMSwiZGF0YSI6eyJpZCI6MzA5MjU4ODh9fQ==--b7bda5954298014ac089fffa50beb59e0a29cd58.gif" width="1" /></p>