Leaflet / Leaflet/Leaflet.VectorGrid

Consuming compressed vector image responses

Open
#247 0 comments 3 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

Hi I am facing an issue when trying to consume a maptiler vector image. From my digging it seems as if the protobuf type of Vectorgrid is not expecting gzipped responses from the url specified.

  • Is there a way I can get it to play nice with the gzipped response?
  • Can I specify a file url instead of an http one ?
  • And lastly I've seen a fetchOptions configuration. Could that somehow be used to help my situation ?

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 how VectorGrid handles protobuf responses from the configured URL, then inspect the fetchOptions configuration and the linked issue #89. Check whether compressed HTTP responses and file URLs are supported or need a defined change; done when the expected behavior and any required configuration are established and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

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