Routing
-
Types of access attributes.
See moreDeclaration
Swift
public enum AccessAttributes : UInt32, CaseIterable, Codable -
Holds all the agency information.
See moreDeclaration
Swift
public struct Agency : Hashable -
The options explicitly allowed by user for route calculations.
See moreDeclaration
Swift
public struct AllowOptions : Hashable -
Holds all the data on a URL address to an external resource.
See moreDeclaration
Swift
public struct Attribution : Hashable -
Attribution link type.
See moreDeclaration
Swift
public enum AttributionType : UInt32, CaseIterable, Codable -
The options to specify restrictions for route calculations.
See moreDeclaration
Swift
public struct AvoidanceOptions : Hashable -
The options to specify rectangular shape which routes must not cross.
See moreDeclaration
Swift
public struct AvoidBoundingBoxAreaOptions : Hashable -
Area of corridor shape which routes must not cross and exceptions for this area.
See moreDeclaration
Swift
public struct AvoidCorridorAreaOptions : Hashable -
The options to specify polygon shape which routes must not cross.
See moreDeclaration
Swift
public struct AvoidPolygonAreaOptions : Hashable -
Parameters related to the electric vehicle’s battery.
See moreDeclaration
Swift
public struct BatterySpecifications : Hashable -
All the options to specify how a bicycle route should be calculated.
See moreDeclaration
Swift
public struct BicycleOptions : Hashable -
All the options to specify how a bus route should be calculated.
See moreDeclaration
Swift
public struct BusOptions : Hashable -
All the options to specify how a car route should be calculated.
See moreDeclaration
Swift
public struct CarOptions : Hashable -
A function which is called by the RoutingEngine after isoline calculation has completed. It is always called on the main thread. The first argument is the error in case of a failure. It is
nilfor an operation that succeeds. The second argument holds a list of calculated isolines. The list isnilin case of an error. The size of the list matches the size of the provided sdk.routing.IsolineOptions.range_values: For each range limit, one isoline is calculated.Declaration
Swift
public typealias CalculateIsolineCompletionHandler = (_ routingError: RoutingError?, _ isolines: [Isoline]?) -> VoidParameters
routingErrorThe error in case of a failure. It is
nilfor an operation that succeeds.isolinesHolds a list of calculated isolines. The list is
nilin case of an error. -
A function which is called by the RoutingEngine after route calculation has completed. It is always called on the main thread. The first argument is the error in case of a failure. It is
nilfor an operation that succeeds. The second argument is the calculated routes. It isnilin case of an error.Declaration
Swift
public typealias CalculateRouteCompletionHandler = (_ routingError: RoutingError?, _ routeList: [Route]?) -> VoidParameters
routingErrorThe error in case of a failure. It is
nilfor an operation that succeeds.routeListThe calculated routes. It is
nilin case of an error. -
A function which is called by the RoutingEngine after route traffic calculation has completed. It is always called on the main thread. The first argument is the error in case of a failure. It is
nilfor an operation that succeeds. The second argument is the calculated route traffic. It isnilin case of an error.Declaration
Swift
public typealias CalculateTrafficOnRouteCompletionHandler = (_ routingError: RoutingError?, _ trafficOnRoute: TrafficOnRoute?) -> VoidParameters
routingErrorThe error in case of a failure. It is
nilfor an operation that succeeds.trafficOnRouteThe calculated route traffic. It is
nilin case of an error. -
Parameters related to the electric vehicle’s charging action.
See moreDeclaration
Swift
public struct ChargingActionDetails : Hashable -
Details of the connector that is suggested to be used in the section’s
See morePostAction‘s for charging.Declaration
Swift
public struct ChargingConnectorAttributes : Hashable -
Available charging connector types.
See moreDeclaration
Swift
public enum ChargingConnectorType : UInt32, CaseIterable, Codable -
Data for an electric vehicle charging station.
See moreDeclaration
Swift
public struct ChargingStation : Hashable -
The options to specify a user-planned charging stop. Note: In order to specify this
See moreChargingStop, it is also required to set [sdk.routing.BatterySpecifications.total_capacity_in_kilowatt_hours], [sdk.routing.BatterySpecifications.initial_charge_in_kilowatt_hours], and [sdk.routing.BatterySpecifications.charging_curve]. Without all of them, the route calculation will fail as an invalid parameter error.Declaration
Swift
public struct ChargingStop : Hashable -
Available charging supply types.
See moreDeclaration
Swift
public enum ChargingSupplyType : UInt32, CaseIterable, Codable -
Provides estimated speed information.
See moreDeclaration
Swift
public struct DynamicSpeedInfo : Hashable -
These options define the parameters of the electric vehicle. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
See moreDeclaration
Swift
public struct ElectricVehicleOptions : Hashable -
This model defines the empirical consumption mode used in electric vehicles.
Parameters specific for the electric vehicle, which are then used to calculate energy consumption on a given route. At minimum, you must provide
See moreEmpiricalConsumptionModel.ascentConsumptionInWattHoursPerMeter,EmpiricalConsumptionModel.descentRecoveryInWattHoursPerMeterand aEmpiricalConsumptionModel.freeFlowSpeedTable. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.Declaration
Swift
public struct EmpiricalConsumptionModel : Hashable -
All the options to specify how a route for an electric car should be calculated. At minimum, a valid
See moreEVConsumptionModelmust be set or the route calculation will fail.
Note:EVCarOptions.ensureReachabilitymust betrueto make sure that all stopovers are reachable. For this, charging stations may be added to the route. IfEVCarOptions.ensureReachabilityis true, you need to specify the required route options and battery specifications that include the current charge level of the battery (BatterySpecifications.initialChargeInKilowattHours). See the parameter description below for more details.Declaration
Swift
public struct EVCarOptions : Hashable -
A charging pool for electric vehicles is an area equipped with one or more charging stations.
Use
PlaceCategory.businessAndServicesEvChargingStationto find stations. In theDetailsof aPlaceresult you can find the list of found pools containing stations, if any.For offline EV rich attributes, also enable
See moreLayerConfiguration.Feature.evinSDKOptions.layerConfiguration.Declaration
Swift
public struct EVChargingPool : Hashable -
Group of connectors for electrical vehicles, defined by a common charging connector type and max power level.
Use
PlaceCategory.businessAndServicesEvChargingStationto find stations. In theDetailsof aPlaceresult you can find the list of found pools containing stations, if any.For offline EV rich attributes, also enable
See moreLayerConfiguration.Feature.evinSDKOptions.layerConfiguration.Declaration
Swift
public struct EVChargingStation : Hashable -
Parameters specific for the electric vehicle, which are then used to calculate energy consumption on a given route. At minimum, you must provide
See moreEVConsumptionModel.ascentConsumptionInWattHoursPerMeter,EVConsumptionModel.descentRecoveryInWattHoursPerMeterand aEVConsumptionModel.freeFlowSpeedTable.Declaration
Swift
public struct EVConsumptionModel : Hashable -
Defines preference level per known E-Mobility Service Provider. The E-Mobility Service Provider ID partner id as received from https://www.here.com/docs/bundle/ev-charge-points-api-developer-guide/page/topics/resource-roamings.html An alternative way to get
See morepartnerIdis theeMobilityServiceProviders.partnerIdas part ofHERE SDK Search. Maximum number of E-Mobility Service Providers is limited to 10 across all preference. Defaults to using all available providers with no prioritization.Declaration
Swift
public struct EVMobilityServiceProviderPreferences : Hashable -
All the options to specify how a route for an electric truck should be calculated.
See moreDeclaration
Swift
public struct EVTruckOptions : Hashable -
Holds all the fare data.
See moreDeclaration
Swift
public struct Fare : Hashable -
Price of a fare.
See moreDeclaration
Swift
public struct FarePrice : Hashable -
Reason for the cost.
See moreDeclaration
Swift
public enum FareReason : UInt32, CaseIterable, Codable -
Types of function road class.
See moreDeclaration
Swift
public enum FunctionalRoadClass : UInt32, CaseIterable, Codable -
Identifiers for different types of hazardous materials which can be shipped by the truck.
See moreDeclaration
Swift
public enum HazardousMaterial : UInt32, CaseIterable, Codable -
Represents an isoline polygon around a center point. Any possible route between the center and any point on the edges of the polygon can be travelled within the given range restriction. The edges of the polygon are not guaranteed to be on the road as all reachable road endpoints are smoothened to fit into one polygon shape. This process can be influenced by setting
See moreIsolineOptions.Calculation.maxPoints.Declaration
Swift
public class Isolineextension Isoline: NativeBaseextension Isoline: Hashable -
Specifies how isoline calculation is optimized.
See moreDeclaration
Swift
public enum IsolineCalculationMode : UInt32, CaseIterable, Codable -
Specifies options for isolines calculation.
See moreDeclaration
Swift
public struct IsolineOptions -
Specifies the type of one or more range values to be included in the isoline. This value defines the restriction that is used to calculate the reachable area.
See moreDeclaration
Swift
public enum IsolineRangeType : UInt32, CaseIterable, Codable -
Use the IsolineRoutingEngine to calculate a reachable area from a center point. The calculation is done asynchronously and requires an online connection.
See moreDeclaration
Swift
public class IsolineRoutingEngineextension IsolineRoutingEngine: NativeBaseextension IsolineRoutingEngine: Hashable -
Indicates the option of localized text usage.
See moreDeclaration
Swift
public enum LocalizedTextPreference : UInt32, CaseIterable, Codable -
This class provides all the information for a maneuver. The directional information (e.g. road names, road numbers and signpost direction) is stored in
See moreManeuver.roadTextsandManeuver.nextRoadTextsattributes. As for the motorway exit information, it can be obtained fromManeuver.exitSignTextsattribute.Declaration
Swift
public class Maneuverextension Maneuver: NativeBaseextension Maneuver: Hashable -
Maneuver action type.
See moreDeclaration
Swift
public enum ManeuverAction : UInt32, CaseIterable, Codable -
Information about the user defined coordinates and where they match to the map.
See moreDeclaration
Swift
public struct MapMatchedCoordinates : Hashable -
Specifies how the location set by
See moreWaypoint.sideOfStreetHintshould be handled. This setting might affect the geometry of the resulting route.Declaration
Swift
public enum MatchSideOfStreet : UInt32, CaseIterable, Codable -
See moreMaxAxleGroupWeightcontains all the restriction details violated by an axle group weight.Declaration
Swift
public struct MaxAxleGroupWeight : Hashable -
New base speed for a segment. Affects route calculation and the ETA. Cannot increase base speed on segment.
Note: This option can only be used with the
See moreRoutingEngine. TheOfflineRoutingEngineis not supported and the option will be ignored. Note that theOfflineRoutingEngineis only available for editions such as the Navigate Edition.Declaration
Swift
public struct MaxSpeedOnSegment : Hashable -
Describes the impact a notice has on the resource to which the notice is attached.
See moreDeclaration
Swift
public enum NoticeSeverity : UInt32, CaseIterable, Codable -
Identifiers for different optimizations that can be used during the route calculation while trying to keep the quality of the route being calculated high. The route is considered to be of low quality if it gives the traveler an unpleasant experience, such as having difficult turns or having a lot of turns in general. For example, if there are two possible routes from A to B, one with a length of 1000m and 10 turns, and another with a length of 1050m and only one turn, the second one will be returned as the shortest, although it is 50m longer. Yet, it contains only one turn and it is therefore considered to provide a better traveler experience.
See moreDeclaration
Swift
public enum OptimizationMode : UInt32, CaseIterable, Codable -
This structure provides all the information for a passthrough waypoint. The location information and offset of the waypoint are stored in
See morePassThroughWaypoint.placeandPassThroughWaypoint.offsetrespectively.Declaration
Swift
public struct PassThroughWaypoint : Hashable -
Available payment methods.
See moreDeclaration
Swift
public enum PaymentMethod : UInt32, CaseIterable, Codable -
All the options to specify how a pedestrian route should be calculated.
See moreDeclaration
Swift
public struct PedestrianOptions : Hashable -
Defines the physical consumption model for electric vehicles, using vehicle-specific parameters to calculate energy consumption along a route. Note: [sdk.transport.VehicleSpecification.current_weight_in_kilograms] must be set. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
See moreDeclaration
Swift
public struct PhysicalConsumptionModel : Hashable -
An action that must be done after arrival, i.e. completing a section in the route.
See moreDeclaration
Swift
public struct PostAction : Hashable -
Identifies the action type.
See moreDeclaration
Swift
public enum PostActionType : UInt32, CaseIterable, Codable -
An action that must be done prior to the section, i.e. boarding a ferry.
See moreDeclaration
Swift
public struct PreAction : Hashable -
Identifies the action type.
See moreDeclaration
Swift
public enum PreActionType : UInt32, CaseIterable, Codable -
All the options to specify how a private bus route should be calculated.
See moreDeclaration
Swift
public struct PrivateBusOptions : Hashable -
The options to specify how to refresh an already calculated route identified by a
RouteHandle. All the options that may result in a new route shape are ignored as no new route is calculated. Instead, only the data that accompanies a route, such as traffic information, can be refreshed. Therefore, the following route options are ignored:RouteOptions.alternatives,RouteOptions.arrivalTime, andRouteOptions.optimizationMode. If newAvoidanceOptionsare specified, they are ignored as well and instead newSectionNotice‘s are generated that indicate where the requestedAvoidanceOptionsare violated. Note that whenEVCarOptions.ensureReachabilityis set to true, the route refresh request will fail as this option is incompatible with a fixed route shape. If any of the ignored options are important, consider calculating a new route instead.Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
See moreDeclaration
Swift
public class RefreshRouteOptionsextension RefreshRouteOptions: NativeBaseextension RefreshRouteOptions: Hashable -
Road features or states.
See moreDeclaration
Swift
public enum RoadFeatures : UInt32, CaseIterable, Codable -
Textual attributes of road.
See moreDeclaration
Swift
public struct RoadTexts : Hashable -
A route is a path through a road network over which someone travels.
Note: Each
See moreSectionof a route contains a list ofSectionNoticeobjects that describe potential issues after the route was calculated. If the list is non-empty, it is recommended to evaluate possible violations against the requested route options and reject the route if deemed necessary.Declaration
Swift
public class Routeextension Route: NativeBaseextension Route: Hashable -
Provides an opaque handle to the calculated
See moreRoute. A handle encodes the calculated route. The route can be decoded from a handle at a later point in time as long as the service uses the same map data which was used during encoding. Note that theRoute.routeHandleis provided only ifRouteOptions.enableRouteHandleis set before route calculation. ARouteHandlegenerated by the onlineRoutingEngineis not compatible with theOfflineRoutingEngine. Similarly, aRouteHandlefrom theOfflineRoutingEnginecannot be used with the onlineRoutingEngine. Using an incompatibleRouteHandleresults in aRoutingError.Declaration
Swift
public struct RouteHandle : Hashable -
The main street name or road number for a route. A route can contain more than one such street name or route number. To include route labels in the route response, enable it using
See moreRouteOptions.enableRouteLabels.Declaration
Swift
public struct RouteLabel : Hashable -
Identifies the type of the route label.
See moreDeclaration
Swift
public enum RouteLabelType : UInt32, CaseIterable, Codable -
Represents a specific location along the route. A
See moreRouteOffsetis a location on the route defined by the section index and the distance in meters from the start of that section to the specified location on the route. An offset in meters indicates the distance that needs to be traveled to reach a specific location along the route, such as a railway crossing. For the latter case, the location of a railway crossing can be retrieved fromRouteRailwayCrossing.coordinates.Declaration
Swift
public struct RouteOffset -
The options to specify how the route will be calculated.
See moreDeclaration
Swift
public struct RouteOptions : Hashable -
The location information.
See moreDeclaration
Swift
public struct RoutePlace : Hashable -
Specifies the direction to make distinction between departure and arrival cases.
See moreDeclaration
Swift
public enum RoutePlaceDirection : UInt32, CaseIterable, Codable -
Identifies the route place type.
See moreDeclaration
Swift
public enum RoutePlaceType : UInt32, CaseIterable, Codable -
Contains information about railway crossing.
See moreDeclaration
Swift
public struct RouteRailwayCrossing -
Identify possible type of route railway crossing.
See moreDeclaration
Swift
public enum RouteRailwayCrossingType : UInt32, CaseIterable, Codable -
Route stop that should be used together with import route functionality. It specifies location index within provided route locations track. Route stop can have additional stop delay, which will be included in expected time to arrival. During navigation the stop will be treated as stopover and will be reported as milestone when passing-by. Only available for the Navigate licence.
See moreDeclaration
Swift
public struct RouteStop -
Specify how textual output should be provided.
See moreDeclaration
Swift
public struct RouteTextOptions : Hashable -
Defines the settings for the retry logic when connecting to the HERE routing backend.
When a timeout is triggered, the next connection attempt starts with a increased timeout. new_timeout = initial_timeout + increment * retry_count
See moreDeclaration
Swift
public struct RoutingConnectionSettings : Hashable -
Use the RoutingEngine to calculate a route from A to B with a number of waypoints in between.
Route calculation is done asynchronously and requires an online connection. The resulting route contains various information such as the polyline, route length in meters, estimated time to traverse along the route and maneuver data.
Note: The engine does not support an unlimited number of waypoints. The limit is defined by the HERE backend services and may change. For now, the maximum number of waypoints should be below 200. This value may change and it is not guaranteed to be stable. If you need to support very large lists of waypoints, consider to import a route (see
See moreimportRoute()method) or use theOfflineRoutingEnginewhich supports an unlimited number of waypoints. TheOfflineRoutingEngineis only available for Navigate licence.Declaration
Swift
public class RoutingEngine : RoutingProtocolextension RoutingEngine: NativeBaseextension RoutingEngine: Hashable -
Specifies possible errors that may result from the calculation of a route.
See moreDeclaration
Swift
public enum RoutingError : UInt32, CaseIterable, Codable -
The options defines how a route should be calculated.
The options are used for all transport modes and engines.
** Electric vehicle specific requirements ** Electric vehicle consumption are estimated when at least one consumption model is defined. Currently two models are supported:
- PhysicalConsumptionModel
Aside from the values in PhysicalConsumptionModel additionally these values needs to be defined:
RoutingOptions.transport_specification.vehicle_specification.current_weight_in_kilograms- Additionally
Waypoint.currentWeightChangeInKilogramscan be defined.
- EmpiricalConsumptionModel
By setting
ElectricVehicleOptions.ensureReachabilitytheRoutingEngineinserts additional charging stations to reach the waypoints. This feature requires setting theBatterySpecifications. By default a vehicle might not reach the waypoint, when the initial charge is not enough to reach all waypoints. See the parameter description below for more details.Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
See moreDeclaration
Swift
public struct RoutingOptions : Hashable - PhysicalConsumptionModel
Aside from the values in PhysicalConsumptionModel additionally these values needs to be defined:
-
Provides the protocol for the online and offline routing engines.
See moreDeclaration
Swift
public protocol RoutingProtocol : AnyObject -
All the options to specify how a scooter route should be calculated.
See moreDeclaration
Swift
public struct ScooterOptions : Hashable -
A section is a part of the route between two stopovers. A stopover is a location on the route where a stop is made.
Note: A section contains a list of
See moreSectionNoticeobjects that describe potential issues after the route was calculated. If the list is non-empty, it is recommended to evaluate possible violations against the requested route options and reject the route if deemed necessary.Declaration
Swift
public class Sectionextension Section: NativeBaseextension Section: Hashable -
Reference to a segment id with a travel direction.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
See moreDeclaration
Swift
public struct SegmentReference : Hashable -
Specifies the side of street on which the destination is located.
See moreDeclaration
Swift
public enum SideOfDestination : UInt32, CaseIterable, Codable -
Signpost information.
See moreDeclaration
Swift
public struct Signpost : Hashable -
Details of a signpost representing a particular direction or destination.
See moreDeclaration
Swift
public struct SignpostLabel : Hashable -
Types of street attributes.
See moreDeclaration
Swift
public enum StreetAttributes : UInt32, CaseIterable, Codable -
All the options to specify how a taxi route should be calculated. See,
TransportMode.taxi.Note: Specify the optional
See moreWaypoint.sideOfStreetHintto indicate at which side of the street a passenger wants to leave the taxi.Declaration
Swift
public struct TaxiOptions : Hashable -
Specify whether the text should be used when generating notification.
See moreDeclaration
Swift
public struct TextUsageOptions : Hashable -
This struct presents all the data for a toll.
Note: If you’re using the
See moreOfflineRoutingEngine, be aware that this feature is currently in beta. As a result, there may be some bugs or unexpected behaviors. Additionally, this feature and related APIs may be updated in future releases without going through the deprecation process. Note that theOfflineRoutingEngineis only available in editions like the Navigate Edition. If you’re using theRoutingEngine, this feature is considered to be stable.Declaration
Swift
public struct Toll : Hashable -
This struct presents all the fare data for a toll.
Note: If you’re using the
See moreOfflineRoutingEngine, be aware that this feature is currently in beta. As a result, there may be some bugs or unexpected behaviors. Additionally, this feature and related APIs may be updated in future releases without going through the deprecation process. Note that theOfflineRoutingEngineis only available in editions like the Navigate Edition. If you’re using theRoutingEngine, this feature is considered to be stable.Declaration
Swift
public struct TollFare : Hashable -
The option to specify how the tolls should be calculated. Note Not used for offline calculations.
See moreDeclaration
Swift
public struct TollOptions : Hashable -
Traffic information on a route. Information for the already traveled portion of the route is omitted.
See moreDeclaration
Swift
public struct TrafficOnRoute : Hashable -
Traffic information of a span along a route.
See moreDeclaration
Swift
public struct TrafficOnSpan : Hashable -
Traffic information on a section.
See moreDeclaration
Swift
public struct TrafficOnSection : Hashable -
This struct holds the transit departure or arrival information.
See moreDeclaration
Swift
public struct TransitDeparture : Hashable -
Status of a departure.
See moreDeclaration
Swift
public enum TransitDepartureStatus : UInt32, CaseIterable, Codable -
A transit incident describes disruptions on the transit network. Disruptions scale from delays to service cancellations.
See moreDeclaration
Swift
public struct TransitIncident : Hashable -
Transit incident effect.
See moreDeclaration
Swift
public enum TransitIncidentEffect : UInt32, CaseIterable, Codable -
Transit incident type.
See moreDeclaration
Swift
public enum TransitIncidentType : UInt32, CaseIterable, Codable -
Public transit mode
See moreDeclaration
Swift
public enum TransitMode : UInt32, CaseIterable, Codable -
Filtering mode for public transit.
See moreDeclaration
Swift
public enum TransitModeFilter : UInt32, CaseIterable, Codable -
Traffic optimization mode that defines whether and what kind of traffic information should be considered during route calculation.
See moreDeclaration
Swift
public enum TrafficOptimizationMode : UInt32, CaseIterable, Codable -
All the options to specify how a public transit route should be calculated.
See moreDeclaration
Swift
public struct TransitRouteOptions : Hashable -
Use the TransitRoutingEngine to calculate a public transit route from A to B with a number of waypoints in between. Route calculation is done asynchronously and requires an online connection. The resulting route contains various information such as the polyline, route length in meters, estimated time to traverse along the route and maneuver data.
See moreDeclaration
Swift
public class TransitRoutingEngineextension TransitRoutingEngine: NativeBaseextension TransitRoutingEngine: Hashable -
Gives the details of a transit section.
See moreDeclaration
Swift
public struct TransitSectionDetails : Hashable -
A transit stop between the departure and destination of a transit section.
See moreDeclaration
Swift
public struct TransitStop : Hashable -
Holds all the transit transport information.
See moreDeclaration
Swift
public struct TransitTransport : Hashable -
Represents a transit waypoint, used as input for transit route calculation.
See moreDeclaration
Swift
public struct TransitWaypoint : Hashable -
Travel direction.
See moreDeclaration
Swift
public enum TravelDirection : UInt32, CaseIterable, Codable -
All the options to specify how a truck route should be calculated.
See moreDeclaration
Swift
public struct TruckOptions : Hashable -
Truck specifications contain vehicle related attributes. Examples: Dimensions, weight, axle count. Only the fields that are set are considered for restriction handling.
See moreDeclaration
Swift
public struct TruckSpecifications : Hashable -
Specifies the type of truck.
See moreDeclaration
Swift
public enum TruckType : UInt32, CaseIterable, Codable -
Specifies the tunnel categories.
Tunnels are categorized from B (low risk, few restrictions) to E (high risk) based on their safety features and the potential danger posed by the goods transported through them.
See moreDeclaration
Swift
public enum TunnelCategory : UInt32, CaseIterable, Codable -
See moreVehicleRestrictionMaxWeightcontains max permitted weight during the trip, in kilograms, along with the specific type of maximum permitted weight restriction.Declaration
Swift
public struct VehicleRestrictionMaxWeight : Hashable -
See moreVehicleRestrictionMaxWeightTyperepresents the specific type of the maximum permitted weight restriction. NOTES: A restriction of typeUNKNOWNmay change toGROSSorCURRENTwhen data becomes available in future. A restriction of typeGROSSorCURRENTmay also change to a different type if actual regulation changes.Declaration
Swift
public enum VehicleRestrictionMaxWeightType : UInt32, CaseIterable, Codable -
Contains vehicle related attributes. Examples: Dimensions, weight, axle count. Only the fields that are set are considered for restriction handling. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
See moreDeclaration
Swift
public struct VehicleSpecification : Hashable -
See moreViolatedRestrictioncontains all the violated restriction details for the planned trip.Declaration
Swift
public struct ViolatedRestriction : Hashable -
Types of walk attributes.
See moreDeclaration
Swift
public enum WalkAttributes : UInt32, CaseIterable, Codable -
Represents a waypoint, used as input for route calculation.
See moreDeclaration
Swift
public struct Waypoint : Hashable -
Defines if the waypoint is a stop over, or a hint for a desired polyline of a route.
See moreDeclaration
Swift
public enum WaypointType : UInt32, CaseIterable, Codable -
Identifies categories of zones which routes avoid going through when used in
See moreAvoidanceOptions.Declaration
Swift
public enum ZoneCategory : UInt32, CaseIterable, Codable
Routing Reference