Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[Offline] Add possibility to know how many tiles are used by the current packs #5086

Closed
mathieugerard opened this issue May 20, 2016 · 2 comments
Labels

Comments

@mathieugerard
Copy link

The size of the offline database is limited to 6000 tiles. However, when a pack is downloaded, many more resources than just tiles are downloaded. We know the number of resource from the download progress but we have no way to know how many of those resources actually count towards our limit.

Please let me know if there is any alternative way of computing the number of offline tiles already used.
Does the number of tiles downloaded depend on the screen density (normal vs retina)?

@1ec5
Copy link
Contributor

1ec5 commented May 20, 2016

This information was added to the Android and iOS SDKs in #4874 (completedTileCount and completedTileSize on Android; countOfTilesCompleted and countOfTileBytesCompleted on iOS). You can try it out in Android SDK snapshots or iOS SDK v3.3.0 alpha releases.

Does the number of tiles downloaded depend on the screen density (normal vs retina)?

No, but a Retina device will download different tiles than a non-Retina device.

@1ec5 1ec5 closed this as completed May 20, 2016
@1ec5 1ec5 added the offline label May 20, 2016
@mathieugerard
Copy link
Author

Awesome!
Sorry I didn't find #4874 before.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants