deck.gl
deck.gl copied to clipboard
[Feat] Stroke a sprite/pattern for lines/polygon outlines
Target Use Case
I would like to use the MVTLayer to display airspaces on a map as on openaip.net:
It requires a sprite to be used when rendering lines/polygon.
The corresponding property in the MapBox style specification is line-pattern
Proposal
It can be implemented by adding a getLinePattern() property in the [stroke options)(https://deck.gl/docs/api-reference/layers/geojson-layer#stroke-options)
It looks like the Fill Style extension could be used for my use case if the sprite could be applied to the outline only (vs the full polygon)