mapbox-maps-ios
mapbox-maps-ios copied to clipboard
Slow initial map bootstrapping
Environment
- Xcode version: 14.3.1
- iOS version: iOS 16.4
- Devices affected: iOS and Android devices
- Maps SDK Version: 10.16.0
Observed behavior and steps to reproduce
The initial map bootstrapping time depends on the offline db size. As bigger the size is, as longer it takes to render the map. For instance:
- no download regions: almost instant bootstrap
- several regions downloaded with ~2Gb size in total: ~8s
Expected behavior
Initial bootstrapping should not depend on the map_data.db size. Could you confirm whether it's expected or not?
Notes / preliminary analysis
- This is only reproducible in Online mode
- During bootstrapping phase,
map_data.db-journalappears in.mapbox/map_datafolder. The map is ready only when that file is gone - In Offline mode map renders instantly