summaryrefslogtreecommitdiff
path: root/.ycm_extra_conf.py
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-03-17 16:37:37 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-03-18 14:02:32 -0700
commitb493bdc649b4e32cbedb3fd5cb9e3e4157dfdb34 (patch)
treeb46f2d6f5e2781e4ee8e5a38747039ff8ce9a5d5 /.ycm_extra_conf.py
parentfff13d0976015650c2c79348dd8d51d25ce0b2d1 (diff)
downloadqtlocation-mapboxgl-b493bdc649b4e32cbedb3fd5cb9e3e4157dfdb34.tar.gz
[ios, osx] Unified offline and ambient caches
There is now only one instance of mbgl::OfflineFileSource, created when the shared MGLOfflineStorage object is initialized. Also create and use the shared MGLOfflineStorage object when initializing an MGLMapView object. The unified cache file is located in a subdirectory of Application Support, where the SDK has control over the file’s lifetime. The subdirectory is already named after the host application’s bundle identifier, ensuring that each Mapbox-powered application has an independent tile limit. If there’s an ambient cache in a subdirectory of Caches, delete it. If there’s an offline cache in a subdirectory of Documents on iOS or Caches on OS X, move it to the unified cache location in a subdirectory of Application Support. Fixes the iOS/OS X side of #4338.
Diffstat (limited to '.ycm_extra_conf.py')
0 files changed, 0 insertions, 0 deletions