<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/4158490?s=20&v=4" /><strong>AntonKhorev</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1735#issuecomment-2894244998">(openstreetmap/openstreetmap-website#1735)</a></div>
<blockquote>
<p dir="auto">The user can already</p>
<ul dir="auto">
<li>(a list of completely different things)</li>
</ul>
</blockquote>
<p dir="auto">...and the solutions proposed here are <em>let's do another completely different thing like a popup menu</em>.</p>
<p dir="auto">If we don't want to introduce <em>another completely different thing</em>, one possible solution is: make the <code class="notranslate">mlat</code>/<code class="notranslate">mlon</code> marker to be managed by the <em>Share</em> panel. Currently you can get two visible markers at the same time: one from <code class="notranslate">mlat</code>/<code class="notranslate">mlon</code> and one from opening <em>Share</em>. This is also bad probably. Instead we could:</p>
<ul dir="auto">
<li>have one marker managed by <em>Share</em> panel code</li>
<li>that marker will appear when the map is opened with the <code class="notranslate">mlat</code>/<code class="notranslate">mlon</code> parameters</li>
<li>that marker won't appear/disappear when the share panel is opened/closed, otherwise sharing a marker won't work as expected</li>
<li>maybe clicking the marker should open the <em>Share</em> panel if it was closed</li>
<li>the visibility of the marker is controlled by the <em>Include marker</em> checkbox; unchecking it is going to be a way to remove the marker</li>
<li>maybe the checkbox needs to be replaced by something more prominent, like a button [Add Marker] / [Remove Marker]; then clicking the marker will open the <em>Share</em> panel and focus on the [Remove Marker] button</li>
</ul>

<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/1735#issuecomment-2894244998">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLN6YM7JSA5INSAGUN327MOT5AVCNFSM6AAAAAB5QFIN72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQOJUGI2DIOJZHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIKEIQ7G4IT5SAZC6T27MOT5A5CNFSM6AAAAAB5QFIN72WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVMQKWIM.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/1735/2894244998</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/1735#issuecomment-2894244998",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/1735#issuecomment-2894244998",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>