Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
4.35k
stars
1.33k
forks
source link
MGLOfflineStorage.addPack downloads too many resources #16609
Open
gershengoren opened 3 years ago
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
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