supportsTile method

  1. @override
bool supportsTile(
  1. Tile tile,
  2. Projection projection
)
override

Returns true if MapDatabase contains the given tile.

@param tile tile to be rendered. @return true if tile is part of database.

Implementation

@override
bool supportsTile(Tile tile, Projection projection) {
  for (MapDataStore mdb in mapDatabases) {
    if (mdb.supportsTile(tile, projection)) {
      return true;
    }
  }
  return false;
}