Ejemplo n.º 1
0
  public static Tile calculateTile(
      final Tile tile, final int srcZoom, final int dstZoom, final int tilesize) {
    final TMSUtils.Bounds bounds = TMSUtils.tileBounds(tile.tx, tile.ty, srcZoom, tilesize);

    return TMSUtils.latLonToTile(bounds.s, bounds.w, dstZoom, tilesize);
  }