mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Slow initial map bootstrapping

Open orca-nazar opened this issue 2 years ago • 0 comments

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:

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

  1. This is only reproducible in Online mode
  2. During bootstrapping phase, map_data.db-journal appears in.mapbox/map_data folder. The map is ready only when that file is gone
  3. In Offline mode map renders instantly

orca-nazar avatar Oct 25 '23 12:10 orca-nazar