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

When loading a 1.6g COG TIF or smaller tif, the map scaling may lag #141

Open
hemeng0101 opened this issue Mar 15, 2024 · 2 comments
Open

Comments

@hemeng0101
Copy link

hemeng0101 commented Mar 15, 2024

When loading a 1.6g COG TIF, the map scaling may lag, but OpenLayer loads the same file smoothly.. I guess from the browser's task that OpenLayer uses a multi-threaded loading method. Can Leaflet also consider this approach to improve performance.

@DanielJDufour
Copy link
Member

Hello @hemeng0101 . Thank you for submitting this! Yes, indeed, the new version of georaster-layer-for-leaflet will move much of the rendering to web workers. You can view the PR with the new version here: #138

@hemeng0101
Copy link
Author

hemeng0101 commented Mar 18, 2024

thanks for your answer, I will follow the new version, and wait the property using web workers to improve rendering。

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

No branches or pull requests

2 participants