Symbols placed on line behavior instable: offset and reverse
Open
Nobody has claimed this yet.
needs investigation :mag:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
mapbox-gl-js version: Latest in mapbox studio
browser: Chrome 77 stable
Steps to Trigger Behavior
- Add a symbol layer to the map
- Assign a long CJK value to
text-field - Zoom
Link to Demonstration
There is 2 line, a long one and a short one below.


And i think symbols missing is not what i want:

Just for discussion, cause i didn't test much case.
Expected Behavior
Actual Behavior
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
Reproduce the behavior using the linked demonstrations with a symbol layer, a long CJK text-field value, and zooming in Chrome. Compare the reported offset, reversal, and missing-symbol behavior for the long and short lines. Done means the symbol placement remains stable during zoom and symbols are not unexpectedly missing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100