Warning
This feature is available in the Full MapKit SDK version
MMKPedestrianRouter
@interface MMKPedestrianRouter : NSObject |
Provides methods for submitting pedestrian routing requests.
Summary
Instance methods
- (nonnull MMKMasstransitSession *) |
- (nonnull MMKMasstransitSummarySession *) |
- (nonnull MMKMasstransitSummarySession *) |
- (nonnull MMKMasstransitSession *) |
- (nonnull MMKMasstransitRouteSerializer *)routeSerializer; |
Instance methods
requestRoutesWithPoints:timeOptions:routeOptions:routeHandler:
- (nonnull MMKMasstransitSession *) |
Submits a request to find a pedestrian route.
Parameters |
|
points |
Route points (See MMKRequestPoint for details). Currently only two points are supported (start and finish) |
timeOptions |
Desired departure/arrival time settings. Empty MMKTimeOptions for requests that are not time-dependent. |
routeOptions |
Options for route personalization. |
routeListener |
Listener to retrieve a list of MasstransitRoute objects. |
requestRoutesSummaryWithPoints:timeOptions:routeOptions:summaryHandler:
- (nonnull MMKMasstransitSummarySession *) |
Submits a request to fetch a brief summary of a pedestrian route.
Parameters |
|
points |
Route points (See MMKRequestPoint for details). Currently only two points are supported (start and finish) |
timeOptions |
Desired departure/arrival time settings. Empty MMKTimeOptions for requests that are not time-dependent. |
routeOptions |
Options for route personalization. |
summaryListener |
Listener to retrieve a list of summaries. |
requestRoutesSummaryWithFrom:to:timeOptions:routeOptions:summaryHandler:
- (nonnull MMKMasstransitSummarySession *) |
Submits a request to fetch a brief summary of the pedestrian routes from one to many points.
Parameters |
|
from |
Starting point (See MMKRequestPoint for details). |
to |
End points. |
timeOptions |
Desired departure/arrival time settings. Empty MMKTimeOptions for requests that are not time-dependent. |
routeOptions |
Options for route personalization. |
summaryListener |
Listener to retrieve a list of summaries. |
resolveUriWithUri:timeOptions:routeHandler:
- (nonnull MMKMasstransitSession *) |
Submits a request to retrieve detailed information on the pedestrian route by URI.
Parameters |
|
uri |
Pedestrian route URI. Begins with "ymapsbm1://route/pedestrian". |
timeOptions |
Desired departure/arrival time settings. Empty MMKTimeOptions for requests that are not time-dependent. |
routeListener |
Listener to retrieve a list of MasstransitRoute objects. |
routeSerializer
- (nonnull MMKMasstransitRouteSerializer *)routeSerializer; |
Route serializer.