hatching line pattern
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
General Idea
Ability to apply a hatching pattern to line geometries, and not have the pattern rotate with geometry angle.
Existing condition
Currently, hatch patterns that are applied to lines rotate with the line geometries, which leads to a warped, non-uniform pattern.

Desired condition
Line patterns should have the ability to be fixed, so that hatched line patterns are uniform and do not rotate with line geometries.

Here is a cartographic example of an administrative boundary line using this technique.
cc @kkaefer @ansis @nickidlugash
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
The issue provides no file or test entry point. Start by locating line-pattern rendering in mapbox-gl-js and determine where pattern rotation is applied; done means line hatching can remain uniform and fixed instead of rotating with each line geometry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100