TKUIMapManagerHelper

public class TKUIMapManagerHelper : NSObject
  • Declaration

    Swift

    @objc(sortOverlays:)
    public static func _objcSort(_ overlays: [MKOverlay]) -> [MKOverlay]
  • Declaration

    Swift

    public static func sort<T>(_ overlays: [T]) -> [T] where T : MKOverlay
  • Declaration

    Swift

    @objc(adjustZOrderOfAnnotationsViews:)
    public static func adjustZOrder(_ annotationsViews: [MKAnnotationView])
  • Declaration

    Swift

    public static func shapeAnnotations(for segment: TKSegment)
      -> (points: [MKAnnotation], overlays: [MKOverlay], requestVisits: Bool)?
  • Annotations to display for this segment in addition to the annotations from the segment itself, (i.e., in addition to the segment itself as long as its content such as stop visits, alerts and real-time vehicles). These are typically the query’s from and to location if the trip starts away from the query.

    Declaration

    Swift

    public static func additionalMapAnnotations(for segment: TKSegment) -> [MKAnnotation]