docs: def _global_tiles_from_bounds(tp, bounds, zoom):
      """Return also Tiles if bounds cross the antimeridian."""
      seen = set()
  
      # clip to tilepyramid top and bottom bounds
      left, right = bounds.left, bounds.right
      top = tp.top if bounds.top > tp.top else bounds.top
      bottom = tp.bottom if bounds.bottom < tp.bottom else bounds.bottom
  
      if left >= tp.left and right <= tp.right:
          for tile in _tiles_from_cleaned_bounds(tp, bounds, zoom):
              yield tile
  
      # bounds overlap on the Western side with antimeridian
      if left < tp.left:
          for tile in chain(
              # tiles west of antimeridian
              _tiles_from_cleaned_bounds(
                  tp,
                  Bounds(left + (tp.right - tp.left), bottom, tp.right, top),
                  zoom
              ),
              # tiles east of antimeridian
              _tiles_from_cleaned_bounds(
                  tp, Bounds(tp.left, bottom, right, top), zoom
              )
          ):
              # make output tiles unique
              if tile.id not in seen:
                  seen.add(tile.id)
                  yield tile
  
      # bounds overlap on the Eastern side with antimeridian
      if right > tp.right:
          for tile in chain(
              # tiles west of antimeridian
              _tiles_from_cleaned_bounds(
                  tp, Bounds(left, bottom, tp.right, top), zoom
              ),
              # tiles east of antimeridian
              _tiles_from_cleaned_bounds(
                  tp,
                  Bounds(tp.left, bottom, right - (tp.right - tp.left), top),
                  zoom
              )
          ):
              # make output tiles unique
              if tile.id not in seen:
                  seen.add(tile.id)
                  yield tile