We rolled out a new and better SDK for you.
Traffic flow tiles
IMPORTANT: The Maps SDK should be initialized with the style from Style Merger which only supports vector tiles and one type of the flow overlay. The approach of using a single style that contains multiple Traffic Flow tiles types was deprecated. After the deprecation period is over, it will not be possible to switch between Traffic Flow tiles types without reloading the style.
The Maps Display API provides support for the traffic flow overlay which can be displayed for both raster and vector tiles. The Style obtained from the Style Merger endpoint contains only one type of the Traffic Flow. To display other types of Traffic Flow it is required to reload the style to one which contains another Traffic Flow type.
The complete list of supported Traffic Flow types is listed below:
absolute: Free-flow speed.
relative(default): Speed relative to free-flow.
relative-delay: Speed relative to free-flow, but only when different.
reduced-sensitivity: Speed relative to free-flow, but with wider speed ranges.