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

Fixes handling of maps #792

Merged
merged 2 commits into from
Jun 27, 2022
Merged

Fixes handling of maps #792

merged 2 commits into from
Jun 27, 2022

Conversation

jacr13
Copy link
Contributor

@jacr13 jacr13 commented Jun 15, 2022

When there is no q parameter in google maps, the directions url in search results points to an empty location.

This workaround fixes it by looking for other parameters that explain the location, if none is found it returns the true url.

@benbusby benbusby merged commit 0d2d5ff into benbusby:main Jun 27, 2022
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.

2 participants