Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support webgl helper in web worker #15857

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sebakerckhof
Copy link
Contributor

This change allows for webgl vector layers to be rendered in an offscreen canvas in a web worker.

Similar to the existing createCanvasContext2D method in src/ol/dom.js, I kept the return type of getCanvas as a fixme, since otherwise it bleeds through to a big part of the codebase.

@sebakerckhof sebakerckhof force-pushed the feat/support-webgl-helper-in-worker branch from 257e333 to 7617335 Compare May 23, 2024 08:09
Copy link

📦 Preview the website for this branch here: https://deploy-preview-15857--ol-site.netlify.app/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant