Leaflet / Leaflet/Leaflet.VectorGrid

Adding feature collection after initialization

Open
#155 0 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

I was wondering if it was possible to add feature collections after the initial slicing. It would be nice to be able to asynchronously load additional feature collections. From what I could see the slicer web worker does not support adding slicers without overriding the existing ones and I would also not really know how to tell the affected tiles to refresh.
If there is no way except using multiple vector grids for now consider this a feature suggestion.

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 by tracing the slicer web worker and how initial slicing identifies and refreshes affected tiles. Determine whether additional feature collections can be loaded asynchronously without overriding existing slicers, and document the required behavior or limitations, including whether multiple vector grids remain necessary.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.