Leaflet / Leaflet/Leaflet.VectorGrid
setFeatureStyle missing some tiles
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 676
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
On low zoom levels when a line might appear several time on the screen, the method setFeatureStyle might not update all the the tiles

To reproduce, mouse over the line on the following page
https://cdn.rawgit.com/vmeurisse/57314572b95621cf24f5407522855e08/raw/a77b3bfe70003721ddf9da0c807be2e017829e6a/vectorLayerHighlight.html
Contributor guide
No contributing guide indexed for this repository
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 setFeatureStyle behavior described in the issue and reproduce it by mousing over the line in the linked vectorLayerHighlight.html page at low zoom. Trace how repeated visible tiles are handled, then verify that styling the line updates every on-screen occurrence rather than only some tiles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100