Leaflet / Leaflet/Leaflet.VectorGrid

VectorGrid.Protobuf tile caching

Open
#246 1 comment 1 reaction 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've have been looking on stack overflow and through the docs without much success.
I would like to know if it is possible to cache vector tilesso that the server is not queried again when changing zoom levels.

The "useCache" and "crossOrigin" properties seem to have an effect when used on L.tileLayer, but
not on L.VectorGrid.Protobuf. I am also not able to find any reference to these properties in the latest docs.

Thanks

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 comparing the documented and observed behavior of L.tileLayer with L.VectorGrid.Protobuf, focusing on the useCache and crossOrigin properties. Check the latest documentation references for both properties and determine whether protobuf vector tiles should support caching when zoom levels change. Done means the supported behavior is established and reflected in the implementation or documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.