GeoTIFF/georaster-layer-for-leaflet

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

hemeng0101 opened this issue · 2 comments

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.

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

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