mapbox-gl-native
mapbox-gl-native copied to clipboard
MGLOfflineStorage.addPack downloads too many resources
Hello we are having the same issue as described in https://github.com/mapbox/mapbox-gl-native/issues/8596
Zoom levels or offline region bounds don't affect the downloaded amount.
Without providing the styleURL it works as expected.
Steps to reproduce
- Define a custom style in MapBox Studio
- Apply style url to MapView in iOS
- Download the offline pack
Expected behavior
The SDK downloads the offline pack for the specified bounds, around 560 tiles.
Actual behavior
The SDK downloads a lot more (about 3000000) tiles than required.
Configuration
Mapbox SDK versions: 5.9 iOS/macOS versions: All Device/simulator models: All Xcode version: 12.X
Same here