checkTileCached method
- {required TileCoordinates coords,
- required TileLayer options}
Check whether a specified tile is cached in the current store synchronously
Implementation
bool checkTileCached({
required TileCoordinates coords,
required TileLayer options,
}) =>
FMTCRegistry.instance(storeDirectory.storeName).tiles.getSync(
DatabaseTools.hash(
settings.obscureQueryParams(getTileUrl(coords, options)),
),
) !=
null;