MapCache
MapCache copied to clipboard
Map Cache for iOS. Pod to support offline maps written in Swift
Support ETag based update check Limit the number of download tasks running at the same time to avoid a large amount of memory usage due to the inability of data...
Hi @merlos , I encountered a crash with MapCache while testing my app. **Reproduction** 1. Make sure cache is at capacity (e.g. 100MB) 2. Scroll the map constantly for 10...
Whereas in my dev environment unit testing works in build pipelines in github and in travisCI fail most of the time. Primarily these are the expectations that do not work...
Right now when a region is downloaded the delegate is notified whenever a certain percentages are achieved depending on the value of (`incrementInPercentageNotification`) however there are other notifications that may...
In 0.6.0 in order to access file and allocated disk sizes: ```swift ... cache: MapCache ... print(cache.diskCache.fileSize) print(cache.calculateDiskSize()) ``` it should be something like ```swift cache.fileSize cache.diskSize ```
MapCache is in its early releases so many debug messages were added for debug purposes. However these logs are in the production version. The library already has a logging class...
In Open Street Maps (OSM), the max latitude that can be converted to tiles is +85.0511 and the minimum is -85.0511 (see https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames). However in Apple Maps allows to download...
To reproduce: 1) Create a controller with a MapView that uses Apple Maps. Use this map to select a region. 2) Download a region with a MapCache that uses Open...
Right now the cache does not have an expiration date. If the tile is in the cache it will always return the same cached tile. However, maps are not static...
I followed the example with the region downloader but the tiles are not persist when downloaded