Warning
This feature is available in the Full MapKit SDK version
MMKBicycleRouter
class MMKBicycleRouter : NSObject |
Provides methods for submitting bicycle routing requests.
Alert
use masstransit.BicycleRouterV2 instead
Summary
Instance methods
func requestRoutes(with points: [MMKRequestPoint], |
func requestRoutesSummary(with points: [MMKRequestPoint], |
func resolveUri(withUri uri: String, |
Instance methods
requestRoutes(with:type:routeListener:)
func requestRoutes(with points: [MMKRequestPoint], |
Note
This feature is not available in the free MapKit version.
Submits a request to find a bicycle route.
Parameters |
|
points |
Route points (See MMKRequestPoint for details). Currently only two points are supported (start and finish). |
routeListener |
Listener to retrieve a list of Route objects. |
Alert
use masstransit.BicycleRouterV2 instead
requestRoutesSummary(with:type:summaryHandler:)
func requestRoutesSummary(with points: [MMKRequestPoint], |
Note
This feature is not available in the free MapKit version.
Submits a request to fetch a brief summary of the bicycle routes.
Parameters |
|
points |
Route points (See MMKRequestPoint for details). Currently only two points are supported (start and finish). |
summaryListener |
Listener to retrieve a list of Route objects. |
Alert
use masstransit.BicycleRouterV2 instead
resolveUri(withUri:routeListener:)
func resolveUri(withUri uri: String, |
Note
This feature is not available in the free MapKit version.
Submits a request to retrieve detailed information on a bicycle route by URI.
Parameters |
|
uri |
The URI of the bicycle route. Starts with "ymapsbm1://route/bicycle". |
routeListener |
Listener to retrieve a list of Route objects. |
Alert
use masstransit.BicycleRouterV2 instead