You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
features (optional, because I can download them from the style json sources section. If provided, layer names must match.)
Then inside renderSubLayers I render individual layers.
How should the data process work?
Render individual deck.gl layer for every layer object in the Style JSON? I'm not sure what the overhead is on number of layers, but that seems like a lot, especially if rendered as a sublayer of a tile layer. You could have 20+, 50+ layers per tile. That seems like too much.
Then the other option is to combine Style JSON layers into a single Deck.gl layer per type of data. I.e. only ~3 layers would be rendered as sublayers of the style spec layer, one PathLayer, one SymbolLayer, one TextLayer (though start with the PathLayer).
I think the latter option makes more sense, so the following will pertain to that.
The text was updated successfully, but these errors were encountered:
How should layers be created from the spec?
Props:
Then inside
renderSubLayers
I render individual layers.How should the data process work?
PathLayer
, oneSymbolLayer
, oneTextLayer
(though start with thePathLayer
).I think the latter option makes more sense, so the following will pertain to that.
The text was updated successfully, but these errors were encountered: