Instance Property

maximumZ

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

Declaration

var maximumZ: Int { get set }

Discussion

If you use different overlay objects to represent different tiles at different zoom levels, use this property to specify the maximum zoom level supported by this overlay’s tiles. At zoom level 0, tiles cover the entire world map; at zoom level 1, tiles cover 1/4 of the world; at zoom level 2, tiles cover 1/16 of the world, and so on. The map never tries to load tiles for a zoom level greater than the value specified by this property.

The default value of this property is 21. Setting the value of this property to a number greater than the default does not guarantee the use of those extra zoom levels.

See Also

Accessing the Tile Attributes

var tileSize: CGSize

The size (in pixels) of your tile images.

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 canReplaceMapContent: Bool

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