Leaflet / Leaflet/Leaflet.VectorGrid

setFeatureStyle missing some tiles

Open
#65 2 comments 0 reactions 0 assignees View on GitHub

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
image

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.