TKUIAnnotationViewBuilder

open class TKUIAnnotationViewBuilder : NSObject
  • Declaration

    Swift

    @objc
    public let annotation: MKAnnotation
  • Declaration

    Swift

    @objc
    public let mapView: MKMapView
  • Declaration

    Swift

    @objc(initForAnnotation:inMapView:)
    public init(for annotation: MKAnnotation, in mapView: MKMapView)
  • Declaration

    Swift

    @discardableResult
    @objc
    public func drawCircleAsTravelled(_ travelled: Bool) -> TKUIAnnotationViewBuilder
  • Declaration

    Swift

    @discardableResult
    @objc
    public func circleColor(_ color: UIColor) -> TKUIAnnotationViewBuilder
  • Declaration

    Swift

    @discardableResult
    @objc
    public func drawCircleAsLarge(_ asLarge: Bool) -> TKUIAnnotationViewBuilder
  • Declaration

    Swift

    @discardableResult
    @objc
    public func drawImageAnnotationAsCircle(_ asCircle: Bool) -> TKUIAnnotationViewBuilder
  • Declaration

    Swift

    @discardableResult
    @objc
    public func withAlpha(_ alpha: CGFloat) -> TKUIAnnotationViewBuilder
  • Declaration

    Swift

    @discardableResult
    @objc
    public func withHeading(_ heading: CLLocationDirection) -> TKUIAnnotationViewBuilder
  • Declaration

    Swift

    @discardableResult
    @objc
    public func enableClustering(_ cluster: Bool) -> TKUIAnnotationViewBuilder
  • Declaration

    Swift

    @discardableResult
    @objc
    public func preferMarker(_ prefer: Bool) -> TKUIAnnotationViewBuilder
  • Declaration

    Swift

    @objc
    open func build() -> MKAnnotationView?

Updating views with headings