ZoomableTile

public struct ZoomableTile

Specifies a single tile and area of the tile that should upscaled.

  • Path for the tile with maximumZ supported by the tile server set in the config. This is the path with the best resolution tile from wich this zoomable tile can be interpolated.

    See also

    MapCacheConfig`

    Declaration

    Swift

    let maximumZPath: MKTileOverlayPath
  • Rectangle area ocupied by this tile

    Declaration

    Swift

    let rect: MKMapRect
  • Scale over the tile of the maximumZ path. It is a multiple of 2 (2, 4, 8). For a zoom larger than maximumZ represents the number of tiles the original tile is divided in one axis. For example, overZoom=4 means that in each axis the tile is divided in 4 as well as in the Y axis. So, the original tile at maximumZ is divided in 16 subtiles. The recttells us, among those tiles, which one is this tile.

    Declaration

    Swift

    let overZoom: Int