<p>This commit includes a few console.logs since it is still WIP.</p>
<p>It solved part of the issue described in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="777515216" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3031" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3031/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3031">#3031</a>:</p>
<p>Whenever I pan the map in iD, the osm-hash-params get updated with the current iD-in-iframe-configuration.<br>
However, click actions in the iD iframe (eg changing the map layer) don't trigger this update until I also pan the map afterwards.</p>
<p>This is all I could contribute with my limited knowledge of the code. I am pretty sure there is a more elegant solution to this. However, I also think this would already be a bit better than what we have right now …</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/3033'>https://github.com/openstreetmap/openstreetmap-website/pull/3033</a></p>
<h4>Commit Summary</h4>
<ul>
<li>WIP: Sync more hash-url-params for iD</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3033/files#diff-5c2b51e0ba5f2385195ba895842df7b083fc07b716e39a720f01d5a988edeefa">app/assets/javascripts/edit/id.js.erb</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3033/files#diff-e37bc574e30721f9d7464e669f8c8224398df640a8b215071b41ee3803fc6eaf">app/assets/javascripts/id.js</a>
(31)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3033.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3033.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3033.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3033.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3033">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOER7A3GNWJNECQGQTSX53B7ANCNFSM4VRJGIJQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLK7GEPFU3LKXLFROW3SX53B7A5CNFSM4VRJGIJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LSX6RWQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3033",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3033",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>