113114115116117118119120121122123
} private void updateTiles(Bbox bounds, final TileFunction<RasterTile> onUpdate) { Bbox panBounds = worldToPan(bounds); for (RasterTile tile : tiles.values()) { if (panBounds.intersects(tile.getBounds())) { onUpdate.execute(tile); } } }