TKUIPolylineRenderer

open class TKUIPolylineRenderer : MKPolylineRenderer
  • Declaration

    Swift

    public enum SelectionMode
  • Whether there should be a background behind dashes

    Declaration

    Swift

    public var fillDashBackground: Bool
  • Color used for the wider border around the polyline. Defaults to black.

    Declaration

    Swift

    public var borderColor: UIColor
  • Color used as the backdrop if there’s a dash pattern Defaults to white

    Declaration

    Swift

    public var backgroundColor: UIColor?
  • The factor by which the border expands past the line. 1.5 leads to a very thin line. Defaults to 2.0

    Declaration

    Swift

    public var borderMultiplier: CGFloat
  • Identifier for this polyline, used to determine selection style

    Declaration

    Swift

    public var selectionIdentifier: String?
  • Declaration

    Swift

    public override init(polyline: MKPolyline)
  • Declaration

    Swift

    override open func draw(_ mapRect: MKMapRect, zoomScale: MKZoomScale, in context: CGContext)