Instance Property

tileSize

The size (in pixels) of your tile images.

Declaration

var tileSize: CGSize { get set }

Discussion

On Retina displays, the images are rendered pixel for pixel and are not scaled. This means that if the tile size is 256 x 256 pixels and the scale factor is 2.0, the image would be rendered as if it were 128 x 128 points in size. This behavior causes the tile to appear smaller but preserves the original image data.

The default tile size is set to 256 x 256 pixels.

See Also

Accessing the Tile Attributes

var isGeometryFlipped: Bool

A Boolean value that indicates the orientation of tile indexes along the y axis.

var minimumZ: Int

The minimum zoom level supported by the tiles of this overlay object.

var maximumZ: Int

The maximum zoom level supported by the tiles of this overlay object.

var canReplaceMapContent: Bool

A Boolean value that indicates whether the tile content is fully opaque.