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

Adding a utility library to check Street View availability #1201

Closed
kikoso opened this issue Jul 24, 2023 · 2 comments · Fixed by #1200
Closed

Adding a utility library to check Street View availability #1201

kikoso opened this issue Jul 24, 2023 · 2 comments · Fixed by #1200
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. released type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@kikoso
Copy link
Collaborator

kikoso commented Jul 24, 2023

Right now, if we try to query a StreetMaps VIew location and it is not available, Google Map crashes (it returns a null value when null is not allowed).

A utility library could query the general availability of a location by calling the Street Maps View API, and handle it at a different level (returning an exception, a boolean, an enum with the availability of the location...)

See the following branch for a draft solution: https:/googlemaps/android-maps-utils/tree/feat/added_street_view_util

Would you folks be ok with this utility supporting Coroutines? Would you prefer any other async mechanism?

@kikoso kikoso added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Jul 24, 2023
@wangela
Copy link
Member

wangela commented Jul 25, 2023

This might be of particular interest to developers who use Street View in Germany. The full guidance is at https://issuetracker.google.com/issues/287628235 and this utility helps implement the recommended mitigations by making a free request to check for the availability of Street View at the desired location, before requesting a Street View panorama for it.

@kikoso I saw that you have a draft PR #1200 based on that branch, so tagging it here.

@wangela wangela changed the title Adding a utility library to check the Street Maps View availability Adding a utility library to check Street View availability Jul 25, 2023
@googlemaps-bot
Copy link
Contributor

🎉 This issue has been resolved in version 3.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
priority: p2 Moderately-important priority. Fix may not be included in next release. released type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants