checkTileCached method

Future<bool> checkTileCached({
  1. required TileCoordinates coords,
  2. required TileLayer options,
})

Check whether a specified tile is cached in the current store

Implementation

Future<bool> checkTileCached({
  required TileCoordinates coords,
  required TileLayer options,
}) =>
    FMTCBackendAccess.internal.tileExistsInStore(
      storeName: storeName,
      url: obscureQueryParams(
        url: getTileUrl(coords, options),
        obscuredQueryParams: settings.obscuredQueryParams,
      ),
    );