SKRouteAlternativeSettings Class Reference

Inherits from NSObject
Declared in SKRouteAlternativeSettings.h

Overview

The SKRouteAlternativeSettings is used to store information about a route alternative.

  routeMode

The mode for the alternative route calculation. The default is SKRouteCarShortest.

@property (nonatomic, assign) SKRouteMode routeMode

Discussion

The mode for the alternative route calculation. The default is SKRouteCarShortest.

Declared In

SKRouteAlternativeSettings.h

  numberOfRoutes

The number of alternative routes that are calculated in this mode. Default is 1.

@property (nonatomic, assign) int numberOfRoutes

Discussion

The number of alternative routes that are calculated in this mode. Default is 1.

Declared In

SKRouteAlternativeSettings.h

  useSlopes

Indicates whether to use the roads' slopes when calculating the route.

@property (nonatomic, assign) BOOL useSlopes

Discussion

Indicates whether to use the roads' slopes when calculating the route.

Declared In

SKRouteAlternativeSettings.h

  routeRestrictions

Indicates whether to avoid toll roads, highways (Motorways & Motorway links), ferry lines, roads that make the user walk along his bike or carry his bike when calculating the route.

@property (nonatomic, assign) SKRouteRestrictions routeRestrictions

Discussion

Indicates whether to avoid toll roads, highways (Motorways & Motorway links), ferry lines, roads that make the user walk along his bike or carry his bike when calculating the route.

Declared In

SKRouteAlternativeSettings.h