MKRoadWidthAtZoomScale(_:)
Returns the width (in screen points) of roads on a map at the specified zoom level.
Declaration
func MKRoadWidthAtZoomScale(_ zoomScale: MKZoomScale) -> CGFloatParameters
- 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.