Skip to content

feat: add TrafficLevel enum and per-segment traffic levels to RouteStep#832

Draft
radityagumay wants to merge 1 commit intostadiamaps:mainfrom
radityagumay:feature/traffic-color
Draft

feat: add TrafficLevel enum and per-segment traffic levels to RouteStep#832
radityagumay wants to merge 1 commit intostadiamaps:mainfrom
radityagumay:feature/traffic-color

Conversation

@radityagumay
Copy link
Contributor

@radityagumay radityagumay commented Mar 18, 2026

Introduces a TrafficLevel enum (Unknown, Low, Moderate, Heavy, Severe) exposed via UniFFI, and a new traffic_levels field on RouteStep that is populated from OSRM-style traffic_level annotations during route parsing. This enables traffic-aware route visualization on Android without JSON parsing.

#678

Introduces a TrafficLevel enum (Unknown, Low, Moderate, Heavy, Severe) exposed
via UniFFI, and a new traffic_levels field on RouteStep that is populated from
OSRM-style traffic_level annotations during route parsing. This enables
traffic-aware route visualization on Android without JSON parsing.
@radityagumay radityagumay marked this pull request as draft March 18, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant