MKPolyline

public extension MKPolyline
  • SwifterSwift: Create a new MKPolyline from a provided Array of coordinates.

    Declaration

    Swift

    convenience init(coordinates: [CLLocationCoordinate2D])

    Parameters

    coordinates

    Array of CLLocationCoordinate2D(s).

Properties

  • SwifterSwift: Return an Array of coordinates representing the provided polyline.

    Declaration

    Swift

    var coordinates: [CLLocationCoordinate2D] { get }