Structure

MKTileOverlayPath

Use this structure to specify the index values for a single tile.

Declaration

struct MKTileOverlayPath

Topics

Creating a Tile Overlay Path

Instance Properties

var x: Int

The index of the tile along the x axis of the map.

var y: Int

The index of the tile along the y axis of the map.

var z: Int

The zoom level number for the tile.

var contentScaleFactor: CGFloat

The screen scale factor for which the tile is intended.

See Also

Customizing the Loading of Tiles

var urlTemplate: String?

The template for generating tile image URLs.

func url(forTilePath: MKTileOverlayPath) -> URL

Returns the URL to use to access the specified tile.