Skip to content

Conversation

@Samo8
Copy link
Contributor

@Samo8 Samo8 commented Nov 26, 2025

Description

Adds TrafficDelaySeverity enum (light, medium, heavy, noData) to NavigationTimeAndDistance and RemainingTimeOrDistanceChangedEvent, enabling apps to display real-time traffic delay information during navigation.

Implemented for both Android and iOS platforms with appropriate platform-specific conversions.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (added documentation comments to new types and fields)
  • I added new tests to check the change I am making
  • All existing and new tests are passing.

@google-cla
Copy link

google-cla bot commented Nov 26, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Samo8 Samo8 changed the title Feat/add traffic delay severity feat: add traffic delay severity Nov 26, 2025
@jokerttu
Copy link
Contributor

Thank you for this PR.
We'll take a look of the implementation.

Do not worry about intergration test fails as those are blocked for third-party developers for security reasons.
We'll run the tests trough locally on review process.

@illuminati1911
Copy link
Contributor

@Samo8 Please also add this functionality to the navigation page on our example app.
example/lib/pages/navigation.dart

There should already be a listener and minimalist UI for showing remaining distance and time so just add this there.

@Samo8
Copy link
Contributor Author

Samo8 commented Dec 8, 2025

@illuminati1911 updated

@Samo8 Samo8 requested a review from illuminati1911 December 8, 2025 13:27
Copy link
Contributor

@illuminati1911 illuminati1911 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your hard work. Looks good to me!

@illuminati1911 illuminati1911 merged commit db19ffc into googlemaps:main Dec 10, 2025
12 of 14 checks passed
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.

3 participants