Leaflet / Leaflet/Leaflet.VectorGrid

Reload tile feature request

Open
#91 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

A method that allows you to request a tile be reloaded

pbfLayer.reload(x, y, z)

Use case: I'm building a data editing app served by an on-the-fly VT service and I want to refresh tiles on the frontend whenever I make a change to a feature on the backend.

If this sounds viable I'm happy to make a pull request!

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

Locate the vector-tile layer's tile loading and update path, starting with how a tile at x, y, z is requested and rendered. Work out the scope of a pbfLayer.reload(x, y, z) API and verify that a backend data change refreshes the requested frontend tile without rebuilding the layer.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.