4 ms·
I switched a project over from Leaflet to Mapbox GL JS for the better-integrated vector tile support and better mobile rendering performance. Raster tiles still
by trynewideas 9y ago
I switched a project over from Leaflet to Mapbox GL JS for the better-integrated vector tile support and better mobile rendering performance. Raster tiles still have value, but I wouldn't call vector tiles "new"; they're mature enough that they should start phasing raster tiles out, especially for projects that need a wide range of zoom levels, tight bandwidth requirements, or a lot of flexible, overlapping, and/or dynamic layers.
Thanks to tools like Maputnik, tippecanoe, and TileServer GL, I also had no problems using Mapbox GL and vector tiles without once touching a Mapbox service.
I still use Leaflet for most raster and simple vector maps simply because it is light and modular enough that I can get what I want, but the open source tools are there to reap the good stuff from Mapbox GL while avoiding the proprietary bits of Mapbox.
- NelsonMinar 9y agoI'd love to see a writeup of using Mapbox GL without Mapbox services. I know it's possible in theory but it seems fairly awkward. Particularly interested if there are any map services you can easily use, free or paid, rather than standing up a vector tile server of your own.
- executive 9y agoNot awkward at all: https://openmaptiles.org/ https://openmaptiles.org/