TrafficFlowQueryOptions
public struct TrafficFlowQueryOptions : Hashable
The options to specify how traffic flow data should be queried.
-
Min jam factor value. The jam factor is a value for the amount of traffic on the roadway. The value is between 0.0 and 10.0 (inclusive). This will be used with
TrafficFlowQueryOptions.maxJamFactorto filter queried flow. If the value isnil, then filtering by the min jam factor is not applied.Declaration
Swift
public var minJamFactor: Double? -
Max jam factor value. The jam factor is a value for the amount of traffic on the roadway. The value is between 0.0 and 10.0 (inclusive). This will be used with
TrafficFlowQueryOptions.minJamFactorto filter queried flow. If the value is null filtering by the max jam factor is not applied.Declaration
Swift
public var maxJamFactor: Double? -
Creates a new instance.
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 init(minJamFactor: Double? = nil, maxJamFactor: Double? = nil)