<blockquote>
<p>Will that work as well though?</p>
</blockquote>

<p>Well, it does, kind of... Because notes are always reloaded after any map movement (<code>map.on("moveend", loadNotes);</code>), on the second iteration the marker with the open popup is inside the viewport, and <code>autoPan</code> will work as expected.</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#issuecomment-18963899'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOprbDGzMHNi1v2StVyNkHMmQmXhuiR7qt48_JlRHnp6NU.gif' height='1' width='1'></p>