-
-
Notifications
You must be signed in to change notification settings - Fork 856
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
[Bug]: Offline manager not downloading beyond zoom level 15? #3256
Comments
See also: |
@mfazekas in the link you posted about this upstream issue above, the person there recommended to continue using the legacy offline APIs for offline support of zooms higher than 16. Is there any way in version 10 of this repo to use the legacy offline APIs mentioned in the ticket? Thanks! EDIT: Sorry disregard, I just noticed in the docs there is a legacy offline maps API still there. I'll try that out. Thanks! |
@ZiZasaurus can you look this problem |
@jgrant41475 , am also facing the same if you solved the problem , please can you guide me. |
Hey @sampathkumarch, sorry for the late response I'm pretty bad at checking my notifications. After discussing with the mapbox community team, we ultimately decided to accept the zoom limitations with the mapbox SDK. The limitation stems from the fact that the default tiling scheme only goes up to zoom level 16, so if you are able to use a custom imagery source that does contain higher zoom levels, then the SDK should work as expected. Unfortunately, for our needs, this was not a feasible solution. Below is a snippet of the communication that I hope provides useful context for others with this issue:
|
Mapbox Implementation
Mapbox
Mapbox Version
default
Platform
iOS, Android
@rnmapbox/maps
version10.1.0-rc.4
Standalone component to reproduce
Observed behavior and steps to reproduce
Using the Offline Example I am able to successfully download an offline tilepack for zoom levels 10-20.
When the minZoom level is changed to be greater than or equal to 16, the download will fail, showing the progress percentage as 'NaN'
Expected behavior
Offline manager should create a tilepack for the zoom levels request
Notes / preliminary analysis
Even when the minZoom is less than 16, the actual downloaded tiles don't contain any tiles for any zoom level past 15. This can be confirmed by creating a tilepack for zoom levels 10-20 and another for zoom levels 10-15, then comparing the resource size and noticing that they are exactly the same.
Additional links and references
https://github.com/rnmapbox/maps/blob/main/example/src/examples/Map/OfflineExample.tsx
The text was updated successfully, but these errors were encountered: