getLazyTile method
LazyGpkgTile
getLazyTile(
- GeopackageDb db,
- int xTile,
- int yTile, {
- Function? to4326BoundsConverter,
Implementation
LazyGpkgTile getLazyTile(GeopackageDb db, int xTile, int yTile,
{Function? to4326BoundsConverter}) {
var tileBounds = getTileBounds(xTile, yTile);
if (to4326BoundsConverter != null)
tileBounds = to4326BoundsConverter(tileBounds);
LazyGpkgTile tile = LazyGpkgTile()
..tableName = tableName
..db = db
..tileBoundsLatLong = tileBounds
..xTile = xTile
..yTile = yTile
..zoomLevel = zoomLevel!
..xPixels = xPixels
..yPixels = yPixels;
return tile;
}