EnvironmentalZoneWarning
public struct EnvironmentalZoneWarning : Hashable
Represents Environmental zones.
-
The distance from the current location to the environmental zone.
Declaration
Swift
public var distanceInMeters: Double -
Indicates if the specified zone is ahead of the vehicle or has just passed by. If it is ahead, then
EnvironmentalZoneWarning.distanceInMetersis greater than 0.Declaration
Swift
public var distanceType: DistanceType -
Indicates the environmental zone id in the map data.
Declaration
Swift
public var zoneId: String -
Indicates the official name of the environmental zone.
Declaration
Swift
public var name: String -
Indicates the description of the environmental zone in the available languages.
Declaration
Swift
public var description: LocalizedTexts -
Indicates the website of the environmental zone, if available.
Declaration
Swift
public var websiteUrl: String? -
Creates a new instance.
Declaration
Swift
public init(distanceInMeters: Double, distanceType: DistanceType, zoneId: String, name: String, description: LocalizedTexts = LocalizedTexts(), websiteUrl: String? = nil)