Data-driven Raster Layer with Mapbox GL
We at Ubilabs recently had the opportunity to inspect the internal workings of Mapbox GL JS , because we wanted to add some functionality to it. Mapbox did an amazing job with their implementation, still for our specific use case we had to fork and extend the library: Our goal was to implement a data-driven raster layer . Mapbox already includes a raster layer type, which can be used to render raster tiles to the map, e.g. for sattelite imagery. Also it offers a point layer, which can style its point color based on the underlying data, hence the term data-driven . We wanted to combine these