Do custom sources/layers get downloaded in an offline map pack? #3631
Unanswered
kevinmanncito
asked this question in
Q&A
Replies: 2 comments
-
I think I found the answer, tilesets don't appear to be included in an offline download if I'm understanding this correctly (at least for the ios sdk): https://github.com/rnmapbox/maps/blob/main/ios/RNMBX/Offline/RNMBXOfflineModule.swift#L365
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@mfazekas made a PR that potentially addresses our issue: #3633 Its not 100% solid yet but would definitely appreciate your eyes on it. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In our app we allow users to create an offline download of a map style. In our testing we thought that our sources/layers nested inside the map view were getting downloaded as part of the map pack but now we aren't so sure. It might have just been the cacheing that mapbox does that made us think the sources/layers were also being downloaded.
For example. Our mapview looks something like this -- using mapbox sdk v10:
And then to create the offline mapbox we are doing this:
Was our testing incorrect in thinking our sources/layers were being included in the mappack? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions