Platforms to show: All Mac Windows Linux Cross-Platform

Back to MKDirectionsRequestMBS class.

MKDirectionsRequestMBS.arrivalDate as Date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The arrival date for the trip.

Specifying an arrival date provides the server with extra information that it can use to optimize the returned routes. For example, for a trip that takes place during commute hours, the server might consider alternatives to routes that are typically congested at that time.
The use of this property is optional.
(Read and Write property)

MKDirectionsRequestMBS.arrivalDateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The arrival date for the trip.

Specifying an arrival date provides the server with extra information that it can use to optimize the returned routes. For example, for a trip that takes place during commute hours, the server might consider alternatives to routes that are typically congested at that time.
The use of this property is optional.
(Read and Write property)

MKDirectionsRequestMBS.departureDate as Date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The departure date for the trip.

Specifying a departure date provides the server with extra information that it can use to optimize the returned routes. For example, for a trip that takes place during commute hours, the server might consider alternatives to routes that are typically congested at that time.
The use of this property is optional.
(Read and Write property)

MKDirectionsRequestMBS.departureDateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The departure date for the trip.

Specifying a departure date provides the server with extra information that it can use to optimize the returned routes. For example, for a trip that takes place during commute hours, the server might consider alternatives to routes that are typically congested at that time.
The use of this property is optional.
(Read and Write property)

MKDirectionsRequestMBS.destination as MKMapItemMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The end point for routing directions.

(Read and Write property)

MKDirectionsRequestMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Internal object reference.

(Read and Write property)

MKDirectionsRequestMBS.requestsAlternateRoutes as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A Boolean indicating whether your app wants multiple routes when they are available.

When this property is set to false, the server returns a single route between the start and end points. When this property is YES, the server may return additional routes for the user to follow. The server returns additional routes only if they are available and represent a reasonable path that the user might take.
The default value of this property is false.
(Read and Write property)

Some examples using this property:

MKDirectionsRequestMBS.source as MKMapItemMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The starting point for routing directions.

(Read and Write property)

MKDirectionsRequestMBS.transportType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The type of conveyance to which the directions should apply.

You can use this property to specify whether you want directions suited to a particular type of transportation. For example, you can use this to specify that you want walking directions or driving directions.
The default value of this property is TransportTypeAny.
(Read and Write property)

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...