controversial created an issue (openstreetmap/openstreetmap-website#6234)

### Problem

It’s really exciting to have vector tiles hosted for the first time on 
openstreetmap.org! 

Currently, vector tiles are displayed using `maplibre-gl-leaflet`, which wraps 
`maplibre-gl-js` in the same Leaflet API that we use to display raster maps 
like Carto.

Using the leaflet wrapper for the vector maps holds the vector maps back from 
user experience improvements that vector maps are designed to enable—for 
example “smooth zooming” between integer zoom levels—and that users of other 
vector maps (google / apple / etc) are accustomed to.

### Description

It would be great to drop the leaflet wrapper when displaying the new vector 
layers. There are several pieces that would need to be migrated to not depend 
on the leaflet API, some of which are documented by @tordans in 
https://github.com/gravitystorm/openstreetmap-website/issues/289.

I’m happy to edit this issue with a more comprehensive list of which features 
depend on Leaflet APIs that would need to be adjusted for compatibility with 
the mapbox-gl-js API when it isn’t wrapped in Leaflet!

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

Message ID: <openstreetmap/openstreetmap-website/issues/6...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to