addTile method

void addTile(
  1. int x,
  2. int y,
  3. int z,
  4. List<int> imageBytes,
)

Add a single tile.

@param x the x tile index. @param y the y tile index. @param z the zoom level. @return the tile image bytes. @throws Exception

Implementation

void addTile(int x, int y, int z, List<int> imageBytes) {
  database.execute(insertTileSql, arguments: [z, x, y, imageBytes]);
}