Confirm behavior of symbol-placement: point and LineStrings
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Currently, a symbol layer using `symbol-placement: point` renders a symbol for only the first coordinate pair in a LineString (see e.g. [this test case](https://github.com/mapbox/mapbox-gl-test-suite/tree/master/render-tests/symbol-geometry/linestring)).
Is this the intended behavior? It would seem more logical to render a symbol for each point in the LineString (or MultiLineString).
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 linked render test at render-tests/symbol-geometry/linestring and inspect how symbol-placement: point behaves for LineString geometry. Determine whether the current first-coordinate behavior is intended or whether symbols should appear at every point, including MultiLineString cases; done requires a decided behavior backed by the relevant test coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100