-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
How should layers be created from the spec?
new DeckglStyleSpecLayer({...})
Props:
- Style JSON
- 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, oneSymbolLayer, oneTextLayer(though start with thePathLayer).
I think the latter option makes more sense, so the following will pertain to that.
Metadata
Metadata
Assignees
Labels
No labels