Re: [openstreetmap/openstreetmap-website] Migrate new vector layers from maplibre-gl-leaflet to “unwrapped” maplibre-gl-js (Issue #6234)

Luke Deen Taylor notifications at github.com
Wed Jul 23 17:42:36 UTC 2025


controversial left a comment (openstreetmap/openstreetmap-website#6234)

I’m optimistic that all of these things can be built efficiently with maplibre-gl-js, and many of them can even provide _better_ interoperability with the map in a “vector-native” environment compared to with raster tiles!

- [Draggable markers](https://maplibre.org/maplibre-gl-js/docs/examples/create-a-draggable-marker/), [markers with popups](https://maplibre.org/maplibre-gl-js/docs/examples/attach-a-popup-to-a-marker-instance/)
- [Overlaying arbitrary geometries](https://maplibre.org/maplibre-gl-js/docs/examples/add-a-geojson-line/)
    - 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
- [Overlaying a draggable and resizable box](https://docs.mapbox.com/mapbox-gl-js/example/using-box-queryrenderedfeatures/)
- [Interface to browser geolocation](https://maplibre.org/maplibre-gl-js/docs/API/classes/GeolocateControl/)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6234#issuecomment-3109544047
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6234/3109544047 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250723/7577c98c/attachment.htm>


More information about the rails-dev mailing list