One Logo Pool Ball
MapKit · IOS API REFERENCE

MKRoute

class · iOS 7.0+ · SDK 27.1

class MKRoute

Members (10)

init

init

TypeScript
static init(): MKRoute
Swift declaration
init()
get · iOS 7.0+

advisoryNotices

TypeScript
get advisoryNotices(): Array<string>
Swift declaration
var advisoryNotices: [String] { get }
get · iOS 7.0+

distance

TypeScript
get distance(): number
Swift declaration
var distance: CLLocationDistance { get }
get · iOS 7.0+

expectedTravelTime

TypeScript
get expectedTravelTime(): number
Swift declaration
var expectedTravelTime: TimeInterval { get }
get · iOS 16.0+

hasHighways

TypeScript
get hasHighways(): boolean
Swift declaration
var hasHighways: Bool { get }
get · iOS 16.0+

hasTolls

TypeScript
get hasTolls(): boolean
Swift declaration
var hasTolls: Bool { get }
get · iOS 7.0+

name

TypeScript
get name(): string
Swift declaration
var name: String { get }
get · iOS 7.0+

polyline

TypeScript
get polyline(): MKPolyline
Swift declaration
var polyline: MKPolyline { get }
get · iOS 7.0+

steps

TypeScript
get steps(): Array<MKRoute_Step>
Swift declaration
var steps: [MKRoute.Step] { get }
get · iOS 7.0+

transportType

TypeScript
get transportType(): MKDirectionsTransportType
Swift declaration
var transportType: MKDirectionsTransportType { get }

Skipped declarations

No declarations were skipped in this snapshot.

All MapKit types →