MMKDrivingRouter
Warning
This feature is available in the Full MapKit SDK version
|
class MMKDrivingRouter : NSObject |
Interface for the driving router.
Summary
Instance methods
|
func requestRoutes(with points: [MMKRequestPoint], |
|
func matchRoute(with polyline: MMKPolyline, |
|
func requestRoutesSummary(with points: [MMKRequestPoint], |
Instance methods
requestRoutes(with:drivingOptions:vehicleOptions:routeHandler:)
|
func requestRoutes(with points: [MMKRequestPoint], |
Builds a route.
|
Parameters |
|
|
points |
Route points. |
|
drivingOptions |
Driving options. |
|
vehicleOptions |
Vehicle options. |
|
routeListener |
Route listener object. |
matchRoute(with:drivingOptions:vehicleOptions:routeHandler:)
|
func matchRoute(with polyline: MMKPolyline, |
Builds a route based on a custom route geometry.
|
Parameters |
|
|
polyline |
Custom route geometry. |
|
drivingOptions |
Driving options. |
|
vehicleOptions |
Vehicle options. |
|
routeListener |
Route listener object. |
requestRoutesSummary(with:drivingOptions:vehicleOptions:summaryHandler:)
|
func requestRoutesSummary(with points: [MMKRequestPoint], |
Creates a route summary.
|
Parameters |
|
|
points |
Route points. |
|
drivingOptions |
Driving options. |
|
vehicleOptions |
Vehicle options. |
|
summaryListener |
Summary listener object. |