Platforms to show: All Mac Windows Linux Cross-Platform
MKDirectionsResponseMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
You do not create instances of this class directly. Instead, you initiate a request for directions by calling the calculateDirection method of an MKDirectionsMBS object. The calculateDirectionCompleted event handler receives an MKDirectionsResponseMBS object with the results.
- 5 properties
- property destination as MKMapItemMBS
- property firstRoute as MKRouteMBS
- property Handle as Integer
- property routeCount as Integer
- property source as MKMapItemMBS
- 3 methods
- method Constructor Private
- method Constructor(Handle as Integer)
- method routes as MKRouteMBS()
- 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 events using this class:
- MKDirectionsMBS.calculateDirectionsCompleted(response as MKDirectionsResponseMBS, error as NSErrorMBS, tag as Variant)
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
MKDirectionsRequestMBS - MKDistanceFormatterMBS