Editar

Compartilhar via


MKPolygon.FromCoordinates Method

Definition

Overloads

FromCoordinates(CLLocationCoordinate2D[])

Creates an MKPolygon from the specified coords.

FromCoordinates(CLLocationCoordinate2D[], MKPolygon[])

Creates an MKPolygon from the specified coords, excluding the specified interiorPolygons.

FromCoordinates(CLLocationCoordinate2D[])

Creates an MKPolygon from the specified coords.

public static MapKit.MKPolygon FromCoordinates (CoreLocation.CLLocationCoordinate2D[] coords);
static member FromCoordinates : CoreLocation.CLLocationCoordinate2D[] -> MapKit.MKPolygon

Parameters

coords
CLLocationCoordinate2D[]

An array of CLLocationCoordinate2Ds that define the desired polygon.

Returns

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to

FromCoordinates(CLLocationCoordinate2D[], MKPolygon[])

Creates an MKPolygon from the specified coords, excluding the specified interiorPolygons.

public static MapKit.MKPolygon FromCoordinates (CoreLocation.CLLocationCoordinate2D[] coords, MapKit.MKPolygon[] interiorPolygons);
static member FromCoordinates : CoreLocation.CLLocationCoordinate2D[] * MapKit.MKPolygon[] -> MapKit.MKPolygon

Parameters

coords
CLLocationCoordinate2D[]

An array of CLLocationCoordinate2Ds that define the desired polygon.

interiorPolygons
MKPolygon[]

An array of MKPolygons that should be excluded from the polygon's interior.

Returns

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to