TrafficSignal (API Reference)
Package com.here.sdk.mapdata
Class TrafficSignal
java.lang.Object
com.here.sdk.mapdata.TrafficSignal
Identifies the presence and the location of traffic lights at an intersection
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe offset of the traffic signal in meters from the beginning of the segment in positive direction.The location information of the traffic lights.Segment direction which the traffic signal is applied. -
Constructor Summary
ConstructorsConstructorDescriptionTrafficSignal(int offsetInMeters, TravelDirection travelDirection) Creates a new instance. -
Method Summary
-
Field Details
-
offsetInMeters
public int offsetInMetersThe offset of the traffic signal in meters from the beginning of the segment in positive direction.
-
travelDirection
Segment direction which the traffic signal is applied.
-
signalLocations
The location information of the traffic lights. An empty list will be returned when signal location is unspecified/unknown.
-
-
Constructor Details
-
TrafficSignal
Creates a new instance.
- Parameters:
offsetInMeters-The offset of the traffic signal in meters from the beginning of the segment in positive direction.
travelDirection-Segment direction which the traffic signal is applied.
-