You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ohm-website inherited a Leaflet-powered slippy map from openstreetmap-website, which was appropriate for displaying raster map tiles. However, these days, our map data is distributed as vector tiles, which necessitates a compatibility shim. The site is currently running Mapbox GL JS v0.53.1 with Mapbox GL Leaflet v0.0.4 to adapt GL JS output to a Leaflet layer.
This is a very old version of Mapbox GL JS from early 2019 that lacks the many performance and styling improvements Mapbox made in the v1.x series. Mapbox subsequently relicensed GL JS under a nonfree license in mapbox/mapbox-gl-js#10160, so if we were to upgrade this dependency to something more modern, we would need to migrate to an open-source fork, MapLibre GL JS, just to keep the site’s stack fully open-source.
This isn’t necessarily an immediate problem, but eventually the main OHM style might use something that only MapLibre GL JS supports but not Mapbox GL JS.
Activity
1ec5 commentedon Dec 9, 2023
The outdated GL JS is probably the reason why upgrading Leaflet breaks the map and @erictheise had to comment out that part of the upstream code:
https://github.com/OpenHistoricalMap/ohm-website/blob/a71a6b795dda0d9c908495cf8862fdb8e9bf02e3/Vendorfile#L6
Address OpenHistoricalMap/issues#650 by including @maplibre/maplibre-…
Addresses OpenHistoricalMap/issues#650 by bundling mapbox-gl-rtl-text…
Addresses OpenHistoricalMap/issues#650 by bundling mapbox-gl-rtl-text…
Address OpenHistoricalMap/issues#650 by including @maplibre/maplibre-…
Addresses OpenHistoricalMap/issues#650 by bundling mapbox-gl-rtl-text…
Addresses OpenHistoricalMap/issues#650 by bundling mapbox-gl-rtl-text…
Address OpenHistoricalMap/issues#650 by including @maplibre/maplibre-…
Addresses OpenHistoricalMap/issues#650 by bundling mapbox-gl-rtl-text…
Addresses OpenHistoricalMap/issues#650 by bundling mapbox-gl-rtl-text…
1ec5 commentedon Dec 31, 2023
Overpass turbo is also using an old version of Mapbox GL JS:
https://github.com/OpenHistoricalMap/overpass-turbo/blob/43d1d9aa7e8bbb7152c89354900fdd327f9f7ffe/package.json#L65
This isn’t necessarily an immediate problem, but eventually the main OHM style might use something that only MapLibre GL JS supports but not Mapbox GL JS.
Address OpenHistoricalMap/issues#650 by including @maplibre/maplibre-…
Addresses OpenHistoricalMap/issues#650 by bundling mapbox-gl-rtl-text…
Addresses OpenHistoricalMap/issues#650 by bundling mapbox-gl-rtl-text…