trafficSignals property

List<TrafficSignal>? trafficSignals

The list of TrafficSignal of the given segment. Returns an empty list if no data is found. Returns null if SegmentDataLoaderOptions.loadTrafficSignals is set to false. The TrafficSignalLocation indicates the location of a single traffic signal, which can be any combination of left, right and overhead. The TrafficSignal.offsetInMeters is the location along the segment, while the traffic signal location have details on how the traffic signal is display/deploy in that specific location in the segment. Gets the list of TrafficSignal.

Implementation

List<TrafficSignal>? get trafficSignals;