Platforms to show: All Mac Windows Linux Cross-Platform

Back to MKRouteMBS class.

MKRouteMBS.distance as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The route distance in meters.

This property reflects the distance that the user covers while traversing the path of the route. It is not a direct distance between the start and end points of the route.
(Read only property)

MKRouteMBS.expectedTravelTime as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The expected travel time in seconds.

This expected travel time reflects the time it takes to traverse the route under ideal conditions. The actual amount of time may vary based on conditions.
(Read only property)

MKRouteMBS.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)

MKRouteMBS.name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The name assigned to the route.

The string in this property is localized according to the user’s language preferences. You can display this string to the user from your app’s user interface so that the user can distinguish one route from another.
The string itself describes the route using one of the route’s significant features. For example, a route that uses a major highway for a significant portion of the route might use that highway for its name.
(Read only property)

MKRouteMBS.polyline as MKPolylineMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The detailed route geometry.

The polyline object in this property reflects the complete path of the route, including all of its steps. You can use the polyline object as an overlay in a map view.
(Read only property)

MKRouteMBS.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 overall route transport type.

This property reflects the primary transport type used for the route. Individual steps of the route might use different transport types.
(Read only property)

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


The biggest plugin in space...