deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

[Feat] Stroke a sprite/pattern for lines/polygon outlines

Open vicb opened this issue 1 year ago • 1 comments

Target Use Case

I would like to use the MVTLayer to display airspaces on a map as on openaip.net:

image

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)

vicb avatar Mar 29 '24 08:03 vicb

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)

vicb avatar Mar 29 '24 08:03 vicb