You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A later contribution merge moved the decompression to the main thread, and there it is. It may be a good idea to move the decompression back to the worker.
Indeed, it would be even better to support native decompression. Would you give it a try? ;)
currently, tiles are decompressed from the sqlite database in the main javascript thread.
It would be faster to decompress natively using a cordova plugin, or even a sqlite C function.
The inflate call is here
https://github.com/oscarfonts/mapbox-gl-cordova-mbtiles/blob/master/src/mbtiles_source.js#L93
The text was updated successfully, but these errors were encountered: