Platforms to show: All Mac Windows Linux Cross-Platform
MKRouteStepMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Each MKRouteStepMBS object corresponds to a single instruction that would need to be followed by the user when navigating between two points. For example, a step might involve following a single road until a turn is required.
You do not create instances of this class directly. An MKRouteMBS object contains the MKRouteStepMBS objects associated with a route. For more information about requesting directions, see MKDirectionsMBS.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 6 properties
- property distance as Double
- property Handle as Integer
- property instructions as String
- property notice as String
- property polyline as MKPolylineMBS
- property transportType as Integer
- method Constructor Private
- 4 constants
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:
- MKRouteMBS.steps as MKRouteStepMBS()
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS MacFrameworks Plugin.