Leaflet.VectorGrid icon indicating copy to clipboard operation
Leaflet.VectorGrid copied to clipboard

WebWorker canvas renderer

Open IvanSanchez opened this issue 7 years ago • 3 comments

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.

IvanSanchez avatar Feb 20 '17 12:02 IvanSanchez

Also: https://github.com/casperlamboo/canvas-webworker

IvanSanchez avatar Feb 20 '17 13:02 IvanSanchez

Even better than that with the new chrome use offscreen canvas object.

https://developers.google.com/web/updates/2018/08/offscreen-canvas

desean1625 avatar Sep 17 '18 14:09 desean1625

+1, really need it for heavy render tasks

liyuanqiu avatar Jan 08 '19 03:01 liyuanqiu