createAt static method
Returns a shared TileStore at the given storage filePath
.
If the given path is empty, the tile store at the default location is returned.
On iOS, this storage path is excluded from automatic cloud backup.
@param filePath: The path on disk where tiles and metadata will be stored.
Implementation
static Future<TileStore> createAt(Uri filePath) async {
final tileStore = TileStore._();
await _tileStoreInstanceManager.setupTileStore(
tileStore._messageChannel, filePath.path);
_finalizer.attach(tileStore, tileStore._suffix, detach: tileStore);
return tileStore;
}