<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKRoadWidthAtZoomScale(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:@F@MKRoadWidthAtZoomScale"
  },
  "title" : "MKRoadWidthAtZoomScale(_:)"
}
-->

# MKRoadWidthAtZoomScale(_:)

Returns the width (in screen points) of roads on a map at the specified zoom level.

```
func MKRoadWidthAtZoomScale(_ zoomScale: MKZoomScale) -> CGFloat
```

## Parameters

`zoomScale`

The scale factor currently applied to the map view.

## Return Value

The width of roads, measured in screen points. You can use the returned value to set the width of lines in drawing code that traces the path of a road.

## Discussion

---

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)