編輯

共用方式為


MKOverlayView.MKRoadWidthAtZoomScale(nfloat) Method

Definition

Application developers should not use this function in iOS 6 or later.

[ObjCRuntime.TV(9, 2)]
public static nfloat MKRoadWidthAtZoomScale (nfloat zoomScale);
static member MKRoadWidthAtZoomScale : nfloat -> nfloat

Parameters

zoomScale
nfloat

The current zoom factor of the map.

Returns

The width, in screen points, of roads at the specified zoom scale.

Attributes

Remarks

Although not officially deprecated, Apple specifies that this method should not be used in iOS 6 or later.

Applies to