Warning

This feature is available in the Full MapKit SDK version

MMKBicycleRouter

@interface MMKBicycleRouter : NSObject

Provides methods for submitting bicycle routing requests.

Alert

use masstransit.BicycleRouterV2 instead

Summary

Instance methods

- (nonnull MMKBicycleSession *)
    requestRoutesWithPoints:(nonnull NSArray<MMKRequestPoint *> *)points
                       type:(MMKBicycleVehicleType)type
              routeListener:
                  (nonnull MMKBicycleSessionRouteListener)routeListener;

Submits a request to find a bicycle route

- (nonnull MMKBicycleSummarySession *)
    requestRoutesSummaryWithPoints:(nonnull NSArray<MMKRequestPoint *> *)points
                              type:(MMKBicycleVehicleType)type
                    summaryHandler:
                        (nonnull MMKBicycleSummarySessionSummaryHandler)
                            summaryHandler;

Submits a request to fetch a brief summary of the bicycle routes

- (nonnull MMKBicycleSession *)
    resolveUriWithUri:(nonnull NSString *)uri
        routeListener:(nonnull MMKBicycleSessionRouteListener)routeListener;

Submits a request to retrieve detailed information on a bicycle route by URI

Instance methods

requestRoutesWithPoints:type:routeListener:

- (nonnull MMKBicycleSession *)
    requestRoutesWithPoints:(nonnull NSArray<MMKRequestPoint *> *)points
                       type:(MMKBicycleVehicleType)type
              routeListener:
                  (nonnull MMKBicycleSessionRouteListener)routeListener;

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


requestRoutesSummaryWithPoints:type:summaryHandler:

- (nonnull MMKBicycleSummarySession *)
    requestRoutesSummaryWithPoints:(nonnull NSArray<MMKRequestPoint *> *)points
                              type:(MMKBicycleVehicleType)type
                    summaryHandler:
                        (nonnull MMKBicycleSummarySessionSummaryHandler)
                            summaryHandler;

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


resolveUriWithUri:routeListener:

- (nonnull MMKBicycleSession *)
    resolveUriWithUri:(nonnull NSString *)uri
        routeListener:(nonnull MMKBicycleSessionRouteListener)routeListener;

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