Leaflet / Leaflet/Leaflet.VectorGrid
VectorGrid.Protobuf tile caching
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
- 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 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