3 ms·
deck.gl is completely independent from Mapbox and Mapbox GL JS. You can use it with Google Maps, for example; most people used it with Mapbox because it was the
by kylebarron 6y ago
deck.gl is completely independent from Mapbox and Mapbox GL JS. You can use it with Google Maps, for example; most people used it with Mapbox because it was the most advanced open source basemap available.
We'll probably end up removing Mapbox from the deck.gl examples, but I can't say for sure.
- etimberg 6y agoAre you sure? Deck.gl depends on react-map-gl [0] which depends on mapbox-gl [1] 0. https://github.com/visgl/deck.gl/blob/79699960e7e24daef1107426706fab934b1917af/package.json#L71 https://github.com/visgl/deck.gl/blob/79699960e7e24daef11074... 1. https://github.com/visgl/react-map-gl/blob/aae80369ed106f5c66aa4e657aa3fcac119336c9/package.json#L48 https://github.com/visgl/react-map-gl/blob/aae80369ed106f5c6...
- kylebarron 6y agoYes, I'm a maintainer of deck.gl. That's a development dependency, not a runtime dependency. You have the option of using deck.gl completely standalone [0], or integrations are provided for Google Maps and Mapbox GL JS [1] [0]: https://deck.gl/examples/tile-layer/ https://deck.gl/examples/tile-layer/ [1]: https://deck.gl/docs/get-started/using-with-map https://deck.gl/docs/get-started/using-with-map
- etimberg 6y agoCool, thanks for the clarification!
- mourner 6y ago> We'll probably end up removing Mapbox from the deck.gl examples If that's because of the licensing, would you remove Google Maps & ArcGIS examples as well?
- kylebarron 6y agoSorry I painted too wide a brush... Some of the examples are integration examples, and I fully expect we'd have at least one example for Mapbox, Google Maps, ArcGIS, and hopefully more providers in the future. The rest of the examples are to show deck.gl's capabilities. They currently use Mapbox GL JS v1 (recently changed to use Carto's basemaps so that new users can test deck.gl without any API key). Those examples focusing on deck.gl are what I meant to refer to originally; it seems unlikely we'd move them to GL JS v2, at least, because we aren't currently using Mapbox services with them. (But again, the team hasn't had full discussions about this yet).