-
Notifications
You must be signed in to change notification settings - Fork 257
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
consider rendering offscreen #3
Comments
You're very right, right now there is no threading implemented - just a breeze of asynchrony. |
btw looking at the source code, it seems really easy to pull out the |
|
Well seen, the Next to the time spent on downloading, the main render-bottleneck currently is the initial processing of a fresh vector tile. The layers' features get filtered (no matching style -> out) and indexed via The That's such a beautiful piece of logic to be implemented :) [edit: typo] |
I haven't looked at the exact implementation yet, so forgive me if this is already the case.
It would be possible to render the map offscreen, e.g. in a worker process and then display it. By doing this, the UI wouldn't be blocked that long. Scrolling would have to be disabled or a new rendering attempt started (with the new zoom level) on scroll/move events.
The text was updated successfully, but these errors were encountered: