Offline mode question #2784
Unanswered
yuriydrobniy
asked this question in
Q&A
Replies: 1 comment
-
Can't figure this out either |
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
-
How can I implement offline mode for my case where I use dynamic
styleJSON
for manipulating of showing layers based on a user preferences?My
styleJSON
contain a general styles and dynamic sources and layers:To use offline mode, I need to save the pack using
createPack
and pass thestyleURL
there. In theory, I can separate general styles and other sources and layers. The general styles I can pass likestyleURL
(can get it from studio.mapbox) and make an offline pack from it. But then I don't know how to pass these sources and layers to show dynamic user data.thnks in advance.
Beta Was this translation helpful? Give feedback.
All reactions