SKRouteInformation Class Reference

Inherits from NSObject
Declared in SKRouteInformation.h

Overview

SKRouteInformation stores information returned on a route calculation. An instance of this class is returned as parameter in the routingService:didFinishRouteCalculationWithInfo: callback when a new route is calculated. The routeID property of an SKRouteInformation instance is used in several SKRoutingService methods as parameter for returning different kind of information about a calculated route. ( e.g. routeCoordinatesForRouteWithId:, routeCountriesForRouteWithId:)

  routeID

The unique identifier of the calculated route.

@property (nonatomic, assign) SKRouteID routeID

Discussion

The unique identifier of the calculated route.

Declared In

SKRouteInformation.h

  routeMode

The route calculation mode.

@property (nonatomic, assign) SKRouteMode routeMode

Discussion

The route calculation mode.

Declared In

SKRouteInformation.h

  distance

The distance of the calculated route, in meters.

@property (nonatomic, assign) int distance

Discussion

The distance of the calculated route, in meters.

Declared In

SKRouteInformation.h

  estimatedTime

The estimated duration of the calculated route, in seconds.

@property (nonatomic, assign) int estimatedTime

Discussion

The estimated duration of the calculated route, in seconds.

Declared In

SKRouteInformation.h

  corridorIsDownloaded

Flag that indicates if the route corridor was downloaded.

@property (nonatomic, assign) BOOL corridorIsDownloaded

Discussion

Flag that indicates if the route corridor was downloaded.

Declared In

SKRouteInformation.h

  calculatedAfterRerouting

Flag that indicates if the route was calculated due to a rerouting.

@property (nonatomic, assign) BOOL calculatedAfterRerouting

Discussion

Flag that indicates if the route was calculated due to a rerouting.

Declared In

SKRouteInformation.h

  containsHighways

Flag that indicates if the rute contains highways.

@property (nonatomic, assign) BOOL containsHighways

Discussion

Flag that indicates if the rute contains highways.

Declared In

SKRouteInformation.h

  containsTollRoads

Flag that indicates if the rute contains toll roads.

@property (nonatomic, assign) BOOL containsTollRoads

Discussion

Flag that indicates if the rute contains toll roads.

Declared In

SKRouteInformation.h

  containsFerryLines

Flag that indicates if the rute contains ferry lines.

@property (nonatomic, assign) BOOL containsFerryLines

Discussion

Flag that indicates if the rute contains ferry lines.

Declared In

SKRouteInformation.h

  viaPointsOnRoute

The viapoints on the route.

@property (nonatomic, strong) NSArray *viaPointsOnRoute

Discussion

The viapoints on the route.

Declared In

SKRouteInformation.h

  routeSummary

Beta: The summary consists of a list of up to three street names locally available.

@property (nonatomic, strong) NSArray *routeSummary

Discussion

Beta: The summary consists of a list of up to three street names locally available.

Declared In

SKRouteInformation.h