Shape

@objc(Shape)
public class Shape : NSManagedObject
extension Shape: TKDisplayableRoute

Undocumented

  • A turn-by-turn instruction, from one shape to the next

    See more

    Declaration

    Swift

    public enum Instruction : Int16
  • Undocumented

    Declaration

    Swift

    public var sortedCoordinates: [TKNamedCoordinate]? { get }
  • Undocumented

    Declaration

    Swift

    @objc
    public weak var segment: TKSegment?
  • Undocumented

    Declaration

    Swift

    public override func didTurnIntoFault()
  • Undocumented

    Declaration

    Swift

    @objc
    public var start: MKAnnotation? { get }
  • end

    Undocumented

    Declaration

    Swift

    @objc
    public var end: MKAnnotation? { get }
  • The turn-by-turn instruction from the previous shape to this shape

    Declaration

    Swift

    public var instruction: Instruction? { get set }
  • Indicates if you need to dismount your vehicle (e.g., your bicycle) to traverse this shape

    Declaration

    Swift

    @objc
    public var isDismount: Bool { get set }
  • A hop is a shape element where the actual path is unknown and the indicated waypoints can not be relied on.

    Declaration

    Swift

    @objc
    public var isHop: Bool { get set }
  • Undocumented

    Declaration

    Swift

    public var isSafe: Bool? { get }
  • Undocumented

    Declaration

    Swift

    public var friendliness: TKPathFriendliness { get }

TKDisplayableRoute

  • Declaration

    Swift

    public var routePath: [Any] { get }
  • Declaration

    Swift

    public var routeColor: TKColor? { get }
  • Declaration

    Swift

    public var routeIsTravelled: Bool { get }
  • Declaration

    Swift

    public var routeDashPattern: [NSNumber]? { get }
  • Declaration

    Swift

    public var selectionIdentifier: String? { get }
  • Undocumented

    Declaration

    Swift

    @nonobjc
    public class func fetchRequest() -> NSFetchRequest<Shape>
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var encodedWaypoints: String? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var index: Int16 { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var metres: NSNumber? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var title: String? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var travelled: Bool { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var services: Set<Service>? { get set }
  • Undocumented

    Declaration

    Swift

    @NSManaged
    public var visits: Set<StopVisits>? { get set }
  • Undocumented

    See more

    Declaration

    Swift

    public enum RoadSafety : Comparable
  • Undocumented

    See more

    Declaration

    Swift

    public enum RoadTag : String, Codable
  • Name of the “cycling network” that this segment is part of

    Declaration

    Swift

    @objc
    public var cyclingNetwork: String? { get set }
  • Undocumented

    Declaration

    Swift

    public var roadTags: [RoadTag]? { get set }