TileIndex toTileIndexZoom(LatLng location, double zoom) { var ret = toTileIndex(location); var mapSize = pow(2.0, zoom); return TileIndex(ret.x * mapSize, ret.y * mapSize); }