Support for icons at the end of lines
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
_From @peterqliu on September 17, 2015 1:31_
It would be useful to tack a sprite onto each end of lines, especially for arrowheads. Each should be rotationally aligned to the orientation of the line's end.
Optionally, support two different images for each end of the line.
The analogous feature in Illustrator:

_Copied from original issue: mapbox/mapbox-gl-style-spec#359_
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 names no files, tests, or entry points. Start by locating the line-rendering and sprite-handling entry points in mapbox-gl-js, then determine how line-end orientation and optional per-end images are represented. Done means supporting rotationally aligned icons at line ends, with distinct images for the two ends when requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100