'Using MVT Style specification to style MVT layer in deck.gl
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?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|