Function

MKRoadWidthAtZoomScale

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

Declaration

CGFloat MKRoadWidthAtZoomScale(MKZoomScale zoomScale);

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.

See Also

Types

MKZoomScale

A scale factor being used in conjunction with a map.