Важно
This feature is available in the Full MapKit SDK version
YMKDrivingRouter
class YMKDrivingRouter : NSObject |
Interface for the driving router.
Summary
Instance methods
func requestRoutes(with points: [YMKRequestPoint], |
func requestRoutesSummary(with points: [YMKRequestPoint], |
Instance methods
requestRoutes(with:drivingOptions:vehicleOptions:routeHandler:)
func requestRoutes(with points: [YMKRequestPoint], |
Builds a route.
Parameters |
|
points |
Route points. |
drivingOptions |
Driving options. |
vehicleOptions |
Vehicle options. |
routeListener |
Route listener object. |
requestRoutesSummary(with:drivingOptions:vehicleOptions:summaryHandler:)
func requestRoutesSummary(with points: [YMKRequestPoint], |
Creates a route summary.
Parameters |
|
points |
Route points. |
drivingOptions |
Driving options. |
vehicleOptions |
Vehicle options. |
summaryListener |
Summary listener object. |