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

Load GeoJSON in worker #671

Closed
mourner opened this issue Aug 7, 2014 · 0 comments
Closed

Load GeoJSON in worker #671

mourner opened this issue Aug 7, 2014 · 0 comments
Assignees
Labels
performance ⚡ Speed, stability, CPU usage, memory usage, or power usage
Milestone

Comments

@mourner
Copy link
Member

mourner commented Aug 7, 2014

If you want to render a HUGE GeoJSON file, it will often crash the browser because of the need to send it to worker and back, which is expensive. We should make it possible to load the data directly to the worker (passing an URL in the GeoJSONSource constructor) and parse it there, avoiding unnecessary data transfers between threads.

This should solve #669.

@mourner mourner added this to the post-v0.2.0 milestone Aug 7, 2014
@mourner mourner self-assigned this Aug 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance ⚡ Speed, stability, CPU usage, memory usage, or power usage
Projects
None yet
Development

No branches or pull requests

1 participant