I'm working on implementing an MVT/PBF server on a deck.gl map and trying to find a way to implement the accompanying style JSON, i.e. Mapbox GL JS Style Specification file for this MVT/PBF server.
I notice there is no style
prop for the deck.gl MVT layer. I could proceed with use the renderSubLayers
prop to manually parse the style layer and match up the feature types and styles, but it would be tricky to implement the entire specification including max/min zoom visibility, filtering, text-halos etc.
Hoping someone has a way of doing this?
After some searching, I found MapLibreGL, this is the fork of MapBoxGL before the repository was made private and it does accommodate Mapbox Vector Tile style format for vector tiles.
MapLibreGL is a WebGL based library for creating map visualisations. A cool feature of these WebGL based libraries is that it's possible use layers from other WebGL based libraries. For example, a deck.gl or mapbox layer can be used on a MapLibreGl map.