[Feat] Stroke a sprite/pattern for lines/polygon outlines
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the MVTLayer and the stroke options described in the issue, then compare the requested behavior with the linked Mapbox line-pattern specification. Done means line and polygon outlines can render a supplied sprite or pattern through a getLinePattern() property, with the relevant behavior covered by the project's existing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100