MKPolygon.FromCoordinates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromCoordinates(CLLocationCoordinate2D[]) |
Creates an MKPolygon from the specified |
FromCoordinates(CLLocationCoordinate2D[], MKPolygon[]) |
Creates an MKPolygon from the specified |
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.