<p></p>
<p dir="auto">Boundaries can be difficult to edit correctly. Often a new user ends up munging a boundary by accident, especially if it is connected to another feature.</p>
<p dir="auto">The standalone version of iD addresses this usability issue by hiding the boundary layer by default if no <code class="notranslate">disable_features</code> parameter is included in the URL hash. Users who feel confident editing the boundary layer can enable it in the Map Data panel, and iD will remember the setting across sessions.</p>
<p dir="auto"><a href="https://github.com/openstreetmap/iD/blob/70a117a38cfaf5518d0099adf70816bc5d196138/dist/index.html#L49-L53">https://github.com/openstreetmap/iD/blob/70a117a38cfaf5518d0099adf70816bc5d196138/dist/index.html#L49-L53</a></p>
<p dir="auto">The iD project has received requests for the instance embedded on osm.org to do the same: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="858315738" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/iD/issues/8454" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/iD/issues/8454/hovercard" href="https://github.com/openstreetmap/iD/issues/8454">openstreetmap/iD#8454</a>. However, since the need to disable boundaries is specific to an OSM environment where new users frequent, the least risky, most straightforward implementation would be in this repository, either right after this statement:</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/blob/56622201d3012eddb1efba7baf78d8aeffc336b6/app/assets/javascripts/id.js#L23-L29">https://github.com/openstreetmap/openstreetmap-website/blob/56622201d3012eddb1efba7baf78d8aeffc336b6/app/assets/javascripts/id.js#L23-L29</a></p>
<p dir="auto">or as an <code class="notranslate">else</code> right here, where the application translates its own <code class="notranslate">disabled_features</code> parameter into one that iD understands:</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/blob/56622201d3012eddb1efba7baf78d8aeffc336b6/app/assets/javascripts/edit/id.js.erb#L26">https://github.com/openstreetmap/openstreetmap-website/blob/56622201d3012eddb1efba7baf78d8aeffc336b6/app/assets/javascripts/edit/id.js.erb#L26</a></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/4514">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIJWN3QM3Z72SEN7VTYTDU5HAVCNFSM6AAAAABDDUTMA2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZDSMBVGQ2TKMQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLL6UKUX535AIRSL66TYTDU5HA5CNFSM6AAAAABDDUTMA2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHH5ZWLLA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/4514</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/4514",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/4514",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>