-
Notifications
You must be signed in to change notification settings - Fork 7
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
combining online and offline maps? #3
Comments
It is possible. The fork here overrides the online loading of tiles used in Mapbox GL JS with offline loading from a local MBTiles file. Instead of overriding, we'd have to add a param in the layer maybe that would specify online/offline. Then maintain both methods of loading tiles and use that param to switch between them. |
Hi Trevor, thank you for you suggestion, that sounds like a good idea, is there a specific function that I can look at to achieve such functionality? best,
|
I can try to work on adding that when I have some free time. Otherwise, feel free to fork the repository and submit a pull request. |
Hi,
Would it be possible to combine online and offline sources. I currently have the library running using offline sources as described in the documentation, but when I try to add an online map box source, I can't get it to work. If this is possible, how would you go about it?
best,
Richard
The text was updated successfully, but these errors were encountered: