Mapbox GL for the Web
mapbox.com
Mapbox GL for the Web
1–10 of 40 posts
Re: Mapbox GL for the Web
#2I think that's a mistake — Leaflet is solid and is the foundation on which a lot of extensions are built, to the point where my impression is that it's pretty much the de facto JS-based map widget these days.
While the new library looks decent, I don't see the point of creating a brand new library rather than extending Leaflet, other than to force clients to couple tightly to Mapbox's API, tile server etc.
Re: Mapbox GL for the Web
#3This looks great, although on first glance seems that the new GL implementation is a new library, not an extension of Leaflet. I think that's a mistake — Leaflet is solid and is the foundation on which a lot of extensions are built, to the point where my impression is that it's pretty much the de facto JS-based map widget these days. While the new library looks decent, I don't see the point of creating a brand new li…
It makes a lot of sense because this library is vastly different from usual slippy maps — fluid continuous zoom & rotation, extremely powerful visualization and interactivity potential, no DOM constraints — fitting it into the Leaflet API which was designed for simple image tile-based maps would be very limiting.
On the other hand, Mapbox GL JS is a very complicated technology under the hood, it is much heavier, with more code, lots of algorithms, serious backend technology to support it etc. So there's a place for both libraries — Leaflet remaining the go-to super-simple, friendly and lightweight library for most maps, while GL JS being an experimental ground for maps of the future with unlimited potential.
Also, Mapbox GL JS + Leaflet integration plugin is coming soon. Stay tuned :)
Re: Mapbox GL for the Web
#4Re: Mapbox GL for the Web
#5Re: Mapbox GL for the Web
#6Re: Mapbox GL for the Web
#7This is really impressive. It's clear someone really spent a lot of time making the controls feel nice and fluid. I'd love to know more about how vector tiles are streamed to the client, and how I could do similar streaming of my own data.
Re: Mapbox GL for the Web
#8Awesome work, but you're missing OpenStreetMap attribution since you're using OSM data
Re: Mapbox GL for the Web
#9This looks great, although on first glance seems that the new GL implementation is a new library, not an extension of Leaflet. I think that's a mistake — Leaflet is solid and is the foundation on which a lot of extensions are built, to the point where my impression is that it's pretty much the de facto JS-based map widget these days. While the new library looks decent, I don't see the point of creating a brand new li…
Leaflet creator here, worked on both libraries. It makes a lot of sense because this library is vastly different from usual slippy maps — fluid continuous zoom & rotation, extremely powerful visualization and interactivity potential, no DOM constraints — fitting it into the Leaflet API which was designed for simple image tile-based maps would be very limiting. On the other hand, Mapbox GL JS is a very complicated tec…