Class EnvironmentalZoneWarning
Represents Environmental zones.
-
Field Summary
FieldsModifier and TypeFieldDescriptionIndicates the description of the environmental zone in the available languages.doubleDeprecated.Will be removed in v4.29.0.Deprecated.Will be removed in v4.29.0.intUnique identifier for this specific environmental zone warning instance.Indicates the official name of the environmental zone.Indicates the website of the environmental zone, if available.Indicates the environmental zone id in the map data. -
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentalZoneWarning(int id, double distanceInMeters, DistanceType distanceType, String zoneId, String name, LocalizedTexts description, String websiteUrl) Deprecated.Will be removed in v4.29.0. -
Method Summary
-
Field Details
-
id
public int idUnique identifier for this specific environmental zone warning instance. Each warning type (truck restrictions, speed warnings, etc.) maintains its own independent ID namespace. Use this ID to track, update, or dismiss individual warning instances of this type.
-
distanceInMeters
Deprecated.Will be removed in v4.29.0. Use the
WarningUpdateimplementation instead.The distance from the current location to the environmental zone.
-
distanceType
Deprecated.Will be removed in v4.29.0. Use the
WarningStatusimplementation instead.Indicates if the specified zone is ahead of the vehicle or has just passed by. If it is ahead, then
distanceInMetersis greater than 0. -
zoneId
Indicates the environmental zone id in the map data.
-
name
Indicates the official name of the environmental zone.
-
description
Indicates the description of the environmental zone in the available languages.
-
websiteUrl
Indicates the website of the environmental zone, if available.
-
-
Constructor Details
-
Method Details