installOfflineMapTiles function

Future<void> installOfflineMapTiles(
  1. String tilesDb
)

Copies the tiles database tilesDb, an absolute path or a Flutter asset, in place of the offline database, so its tiles are available offline.

Throws a PlatformException with code INVALID_ARGUMENT when there is no file at tilesDb, and OFFLINE_DATABASE_ERROR when the copy fails.

Implementation

Future<void> installOfflineMapTiles(String tilesDb) =>
    _global.installOfflineMapTiles(tilesDb);