Leaflet / Leaflet/Leaflet.VectorGrid

WebWorker canvas renderer

Open
#82 3 comments 9 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

Apparently it's possible to have canvas renderers inside a web worker thread, see https://stackoverflow.com/questions/1864756/web-workers-and-canvas

It would be nice to see if this could be applied to Leaflet's canvas renderers, as it would increase rendering speed of complex vector tiles here.

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 reviewing Leaflet's canvas renderers and the Web Workers and Canvas reference linked in the issue. Determine whether the vector-tile rendering path can run in a worker and define how rendering speed would be measured for complex vector tiles; done requires an agreed implementation scope and performance evidence.

Written by the indexing model from the issue text.

Assessment

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