RegionalSpeedLimit
public struct RegionalSpeedLimit
Describes speed limits for the region.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes instance of
RegionalSpeedLimit.Declaration
Swift
public init( roadType: RegionalSpeedLimit.RoadType?, isWeatherDependent: Bool, isTimeDependent: Bool, type: RegionalSpeedLimit.SpeedLimitType, speed: Measurement<UnitSpeed>? )
-
Road types for the speed limit.
See moreDeclaration
Swift
public enum RoadType -
Speed limit types.
See moreDeclaration
Swift
public enum SpeedLimitType -
Type of the road for the speed limit, null if not available.
Declaration
Swift
public let roadType: RegionalSpeedLimit.RoadType? -
Specifies if the speed limit is weather dependent.
Declaration
Swift
public let isWeatherDependent: Bool -
Specifies if the speed limit is time dependent.
Declaration
Swift
public let isTimeDependent: Bool -
Type of the speed limit.
Declaration
Swift
public let type: RegionalSpeedLimit.SpeedLimitType -
Value for the speed limit in units specified by the country, null if not available.
Declaration
Swift
public let speed: Measurement<UnitSpeed>?
RegionalSpeedLimit Structure Reference