Files
MapLibreParticleLab/platform/android/cache_database_data.cpp
Leith Bade c0bcd1e260 Add cache path variable from Java
Use cache path for db location
Add Assetbridge to extract asset files to cache path
Fix SSL by using extracted ca bundle
Use file:// style URL using extracted styles
2014-11-08 12:49:46 +11:00

15 lines
336 B
C++

#include <mbgl/platform/platform.hpp>
#include "../../android/cpp/NativeMapView.hpp"
namespace mbgl {
namespace platform {
// Returns the path to the default cache database on this system.
std::string defaultCacheDatabase() {
// TODO need to use get cache dir from java
return mbgl::android::cache_path + "/mbgl-cache.db";
}
}
}