toLatLngZoom method

LatLng toLatLngZoom(
  1. TileIndex tile,
  2. double zoom
)

Implementation

LatLng toLatLngZoom(TileIndex tile, double zoom) {
  var mapSize = pow(2, zoom);

  final x = tile.x / mapSize;
  final y = tile.y / mapSize;

  final normalTile = TileIndex(x, y);

  return toLatLng(normalTile);
}