<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKTileOverlayPath/init(x:y:z:contentScaleFactor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "s:So17MKTileOverlayPatha1x1y1z18contentScaleFactorABSi_S2i14CoreFoundation7CGFloatVtcfc"
  },
  "title" : "init(x:y:z:contentScaleFactor:)"
}
-->

# init(x:y:z:contentScaleFactor:)

Creates a new overlay path with the specified indexes and content scale factor.

```
init(x: Int, y: Int, z: Int, contentScaleFactor: CGFloat)
```

## Parameters

`x`

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

`y`

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

`z`

The index of the tile along the z-axis of the map.

`contentScaleFactor`

The screen scale that the framework shows the tile. This value is typically either `1.0` (for standard resolution displays) or `2.0` (for Retina displays).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)