Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

MKRouteMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class MapKit MBS MacFrameworks Plugin 19.0 Yes No No Yes, macOS only No
Function: A single route between a requested start and end point.
An MKRouteMBS object defines the geometry for the route—that is, it contains line segments associated with specific map coordinates. A route object may also include other information, such as the name of the route, its distance, and the expected travel time.

You do not create instances of this class directly. When you use an MKDirectionsMBS object to request directions from Apple, the returned MKDirectionsResponseMBS object contains the possible routes.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Transport Types

Constant Value Description
TransportTypeAny &h0FFFFFFF Directions suitable for any transportation option.
TransportTypeAutomobile 1 Directions suitable for use while driving.
TransportTypeTransit 3 Directions suitable for public transportation.
TransportTypeWalking 2 Directions suitable for a pedestrian.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples which use this class:

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

MKPolylineRendererMBS   -   MKRouteStepMBS

The biggest plugin in space...

MBS Xojo PDF Plugins