<p>For a link like <a href="http://osm.org/edit?node=n#map=19/37.77683/-122.41459">http://osm.org/edit?node=n#map=19/37.77683/-122.41459</a>,  select<br>
the feature but also respect the map location.</p>

<p>This is the fix for iD. It appears P2 requires internal code modifications.</p>

<p>Refs <a href="https://github.com/openstreetmap/openstreetmap-website/issues/620" class="issue-link" title="Object id in URL (after search) confuses edit location">#620</a></p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/jfirebaugh/openstreetmap-website 620</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/630'>https://github.com/openstreetmap/openstreetmap-website/pull/630</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Obey the location hash for edit URLs with objects</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/630/files#diff-0">app/views/site/_id.html.erb</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/630.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/630.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/630.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/630.diff</a></li>
</ul>