createAt static method

Future<TileStore> createAt(
  1. Uri filePath
)

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. On Android, please exclude the storage path in your Manifest. Please refer to the Android Documentation for detailed information.

filePath: The path on disk where tiles and metadata will be stored.

Implementation

static Future<TileStore> createAt(Uri filePath) async {
  final impl = await MapboxMapsFlutterPlatform.instance.createTileStore(
    filePath: filePath,
  );
  return TileStore(impl);
}