Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vicb opened this issue Mar 29, 2024 · 1 comment
Open

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

vicb opened this issue Mar 29, 2024 · 1 comment
Labels

Comments

@vicb
Copy link

vicb commented Mar 29, 2024

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 vicb added the feature label Mar 29, 2024
@vicb vicb changed the title [Feat] Stroke a sprite for lines/polygons [Feat] Stroke a sprite/pattern for lines/polygon outlines Mar 29, 2024
@vicb
Copy link
Author

vicb commented Mar 29, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant