How to display offline pack on mapview? #1773
Unanswered
KONGWaiKit
asked this question in
Q&A
Replies: 4 comments 6 replies
-
Any fix you got?? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't think we have a |
Beta Was this translation helpful? Give feedback.
6 replies
-
any help? |
Beta Was this translation helpful? Give feedback.
0 replies
-
you just have to use the same style than you have downloaded. perfectly working for me |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm working on a project that allows users to use the map offline.
Here's my code to download the offline pack.

And it returns success.
{"_metadata": null, "pack": {"bounds": [[Array], [Array]], "metadata": "{\"name\":\"LionRock_HongKong\"}"}} {"completedResourceCount": 680, "completedResourceSize": 11077768, "completedTileCount": 153, "completedTileSize": 4160477, "name": "LionRock_HongKong", "percentage": 100, "requiredResourceCount": 680, "state": 2}
Then, I tried to get my offline packs back and make use in MapView

When I run the app and cut off the internet access, Mapbox just returns blank.

How can I fix it? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions