Class representing complex options available to route calculation.
More...
#import <SYRoutingOptions.h>
Class representing complex options available to route calculation.
◆ routingType
- (SYRoutingType) routingType |
|
readwritenonatomicassign |
◆ transportMode
- (SYTransportMode) transportMode |
|
readwritenonatomicassign |
◆ napStrategyType
- (SYNearestAccessiblePointStrategyType) napStrategyType |
|
readwritenonatomicassign |
Nearest accessible point (NAP) strategy. Default value is SYNearestAccessiblePointStrategyTypeDisabled.
◆ routingService
- (SYRoutingService) routingService |
|
readwritenonatomicassign |
Defines the preferred processing unit to compute the route. Default value is SYRoutingServiceAutomatic.
◆ fuel
- (SYVehicleFuelType) fuel |
|
readwritenonatomicassign |
Vehicle fuel type type. Default value is SYVehicleFuelTypePetrol
◆ emission
- (SYEuropeanEmissionStandard) emission |
|
readwritenonatomicassign |
European emission standard type. Default value is SYEuropeanEmissionStandardEuro5
◆ vehicleYear
- (NSUInteger) vehicleYear |
|
readwritenonatomicassign |
Vehicle manufacturing year used to correctly evaluate emission zones Default value is 2017
◆ globalAvoids
- (NSSet<NSNumber*>*) globalAvoids |
|
readwritenonatomicstrong |
SYAvoidType values stored as [NSNumber numberWithInteger:] for global routing avoids. Default value is SYAvoidTypeUnpavedRoads.
◆ countryAvoids
- (NSDictionary<SYCountryIso*,NSSet<NSNumber*>*>*) countryAvoids |
|
readwritenonatomicstrong |
Dictionary of country avoids (SYAvoidType values stored as [NSNumber numberWithInteger:]) per country.
◆ departureTime
- (NSDate*) departureTime |
|
readwritenonatomicstrong |
The desired departure time. Set to nil to use current time.
◆ useEndpointProtection
- (BOOL) useEndpointProtection |
|
readwritenonatomicassign |
Option which indicates whether routing is allowed to break restrictions in vicinity of start, via or end point if no restriction-free route exists. Sometimes it is necessary to ignore some restriction in order to reach endpoint. Default value is YES.
◆ avoidTrafficElements
Set to avoid some traffic events.
◆ avoidPolylines
- (NSArray<SYGeoPolyline*>*) avoidPolylines |
|
readwritenonatomicstrong |
Array of geographical polylines which have to be avoided. See also [SYRoute getPolylinesFromRouteSegments].
◆ maxSpeed
The maximum speed of vehicle. Default and maximum allowed value is 255, if higher value set, default is used. Value 0 means no maximum speed limit.
◆ urlOverride
Override of default online routing URL.
◆ dimensionalOptions
Vehicle parameters related to size and weight. Default value is nil.
◆ hazmatSettings
Settings related to hazardous material cargo. Default value is nil.
The documentation for this class was generated from the following file: