Skip to content

Storage usage per building

There are mainly two components other than the app. The Pointr SDK uses the Maplibre SDK to display maps and all of its contents. The Maplibre SDK downloads vector tiles as and when needed and stores it under the application support of the app with a folder named “mapbox” This size exists under system cache.

Platform specific storage consumption for a 2 level building are given below:

  • iOS: Maplibre adds a cache of 2 mb on complete map load.
  • Android: Maplibre adds a cache of 2.3 mb on complete map load.

As the Maplibre SDK provides the user the freedom to traverse through the World map, the storage it consumes increases with user interaction and can vary greatly depending on each session.

With every subsequent building, Maplibre consumes storage like below:

  • A smaller building with 1 level - around 1 mb for each subsequent building of this nature.
  • For larger buildings with more content and multiple levels - around 2 - 3 mb for each building of this size.

Warning

By default, Maplibre has an ambient cache where it stores most recently used tiles as long as the size allows. It deletes the oldest tiles when cache size limit is reached. Default cache size limit is 50 MB.

Maplibre/Mapbox Glossary: Zoom Level

The Pointr offline content size remains the same on both Android and iOS once completely downloaded.


Last update: September 30, 2024
Back to top