Re: [openstreetmap/openstreetmap-website] Migrate new vector layers from maplibre-gl-leaflet to “unwrapped” maplibre-gl-js (Issue #6234)
Zeke Farwell
notifications at github.com
Wed Jul 23 20:51:44 UTC 2025
zekefarwell left a comment (openstreetmap/openstreetmap-website#6234)
The current title of this issue seems to suggest the the new vector layers can be migrated to MapLibre GL JS independently while keeping Leaflet around for the raster layers. I imagine using two entirely separate map display libraries on the same page would be a bit of a nightmare and that is why the currently solution using the Leaflet Maplibre plugin was chosen. I expect the sane path off of the plugin would be to replace Leaflet entirely with MapLibre (it also [supports raster layers](https://maplibre.org/maplibre-gl-js/docs/examples/add-a-raster-tile-source/)). When phrased like this the project is clearly much larger as it would require replacing everything below the header on the home page, not just the vector layer display code.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6234#issuecomment-3110137718
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/6234/3110137718 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250723/e8b11d84/attachment-0001.htm>
More information about the rails-dev
mailing list