Custom style URL not showing custom styles consistently after offline download #2856
Replies: 4 comments
-
Using the example app for the native ios sdk I was able to reproduce this issue upstream. I'll post over there and see what I can find. native.mov |
Beta Was this translation helpful? Give feedback.
-
And... here is the upstream issue that was already there: mapbox/mapbox-maps-ios#1940 |
Beta Was this translation helpful? Give feedback.
-
@kevinmanncito awesome, thanks much for all the work on this! |
Beta Was this translation helpful? Give feedback.
-
I found a decent workaround for our use case (thanks to mapbox support). Turn off source compositing in the custom style: Make sure to do that first thing when you create the map then add the custom sources to the map. It sounds like there is a slight performance degradation when source compositing is off but it hasn't been noticeable for us. Here is the link to the docs on source compositing: https://docs.mapbox.com/studio-manual/reference/styles/#source-compositing |
Beta Was this translation helpful? Give feedback.
-
Hey @mfazekas, this V10 version is working great for us! Thanks for all the hard work. However, there is the one issue we have run into.. Here it is:
I have been able to reproduce this with a super simple custom style: mapbox://styles/onwaterllc/clhcm7yjv00dl01rh4d0thgaz
Here is my fork of the rnmapbox/maps examples app that also reproduces the issue: main...kevinmanncito:maps:offline-map-demo
Here is a demo video of me zooming around before downloading and the custom styles seem to work fine:
before-download.mov
Here is a demo video of me zooming around after downloading and the issue appears:
after-download.mov
I'm happy to fill out the issue template as well if that would be best, just let me know! Thanks
Beta Was this translation helpful? Give feedback.
All reactions