<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/10377391?s=20&v=4" /><strong>controversial</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/issues/6234#issuecomment-3109544047">(openstreetmap/openstreetmap-website#6234)</a></div>
<p dir="auto">I’m optimistic that all of these things can be built efficiently with maplibre-gl-js, and many of them can even provide <em>better</em> interoperability with the map in a “vector-native” environment compared to with raster tiles!</p>
<ul dir="auto">
<li><a href="https://maplibre.org/maplibre-gl-js/docs/examples/create-a-draggable-marker/" rel="nofollow">Draggable markers</a>, <a href="https://maplibre.org/maplibre-gl-js/docs/examples/attach-a-popup-to-a-marker-instance/" rel="nofollow">markers with popups</a></li>
<li><a href="https://maplibre.org/maplibre-gl-js/docs/examples/add-a-geojson-line/" rel="nofollow">Overlaying arbitrary geometries</a>
<ul dir="auto">
<li>side note: one advantage in a client-side rendered vector map stack is that these types of overlays can fit “inside” the map instead of simply appearing on top—for example a route line could be drawn with a different color treatment where it passes under a “buildings” layer</li>
</ul>
</li>
<li><a href="https://docs.mapbox.com/mapbox-gl-js/example/using-box-queryrenderedfeatures/" rel="nofollow">Overlaying a draggable and resizable box</a></li>
<li><a href="https://maplibre.org/maplibre-gl-js/docs/API/classes/GeolocateControl/" rel="nofollow">Interface to browser geolocation</a></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/6234#issuecomment-3109544047">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLTJHB4W7M4POKC7BD3J7CQZAVCNFSM6AAAAACCGOXFYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMBZGU2DIMBUG4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLKH3Q7JSBSMJUQDI4L3J7CQZA5CNFSM6AAAAACCGOXFYSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVZK7QG6.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/6234/3109544047</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/6234#issuecomment-3109544047",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/6234#issuecomment-3109544047",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>