TKDisplayableRoute
@objc
public protocol TKDisplayableRoute
Undocumented
-
The path of the route, used to draw it on the map
Should be objects that have a coordinate, i.e.,
MKAnnotation
orCLLocation
Declaration
Swift
var routePath: [Any] { get }
-
routeColor
Default implementationColour to use for drawing the route
Default Implementation
Declaration
Swift
var routeColor: TKColor? { get }
-
routeDashPattern
Default implementationDash pattern to use for drawing the route
Default Implementation
Declaration
Swift
var routeDashPattern: [NSNumber]? { get }
-
routeIsTravelled
Default implementationWhether this shape is part of the trip.
For example, this returns false for section of a route that indicate where a bus is coming from before you get on, or where it goes after you got off.
Default Implementation
Declaration
Swift
var routeIsTravelled: Bool { get }
-
An identifier for the route, used to highlight the route on the map and allow tapping on it
Declaration
Swift
var selectionIdentifier: String? { get }