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

Allow TaskProcessor to take absolute urls for worker paths #9338

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

mramato
Copy link
Contributor

@mramato mramato commented Jan 25, 2021

TaskProcessor now accepts an absolute URL in addition to a worker name as it's first parameter. This makes it possible to use custom web workers with Cesium's task processing system without copying them to Cesium's Workers directory.

@kring or @shunter I'm not sure if there are any gotchas that I might have missed here or if we just never really bothered to support this use case.

`TaskProcessor` now accepts an absolute URL in addition to a worker name
as it's first parameter. This makes it possible to use custom web workers
with Cesium's task processing system without copying them to Cesium's
Workers directory.
@cesium-concierge
Copy link

Thanks for the pull request @mramato!

  • ✔️ Signed CLA found.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.
  • Works (or fails gracefully) in IE11.

@kring kring merged commit 70f3a34 into master Jan 27, 2021
@kring kring deleted the absolute-workers branch January 27, 2021 04:38
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.

3 participants