Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Polyline with Traffic and better debug control #200

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

regeter
Copy link
Contributor

@regeter regeter commented Feb 3, 2025

Fixes #61

A lot of work but finally done.
This shows the polylines from Navigation SDK when they are available via the restricted logs.
I will still add some more controls over it in follow up PRs.

@regeter regeter changed the title Polyline with Traffic and better debug control feat: Polyline with Traffic and better debug control Feb 3, 2025
@@ -1,7 +1,8 @@
// PolylineCreation.js

import { useState } from "react";
import { decode } from 's2polyline-ts';
import { decode } from "s2polyline-ts";
Copy link

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's the Google Maps JavaScript library, it doesn't support S2 Polyline decoding and has it's own format instead.

@regeter regeter merged commit 34e599b into googlemaps:main Feb 3, 2025
8 checks passed
googlemaps-bot pushed a commit that referenced this pull request Feb 3, 2025
## [1.5.0](v1.4.0...v1.5.0) (2025-02-03)

### Features

* Polyline with Traffic and better debug control ([#200](#200)) ([34e599b](34e599b))
@googlemaps-bot
Copy link
Contributor

🎉 This PR is included in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Visualize Route Deviations
3 participants