TrafficSpeedColorRouteLongAttribute | iOS SDK | 2GIS Documentation
iOS SDK

TrafficSpeedColorRouteLongAttribute

A container that stores an extended route attribute. Each element is stored as a pair consisting of a point and an attribute element value. The action of the attribute starts at the given point and ends at the next point, starting from which the action of the attribute of the next element begins.

Extends: Hashable
public static func == (lhs: TrafficSpeedColorRouteLongAttribute, rhs: TrafficSpeedColorRouteLongAttribute) -> Bool

Returns a Boolean value indicating whether two values are equal.

Methods
public func entry(
    point: RoutePoint
) -> TrafficSpeedColorRouteLongEntry?

The element in which the point falls.

Parameters
Properties

Number of elements.

Elements missing.