Adding a utility library to check Street View availability #1201
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.
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://github.com/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?
The text was updated successfully, but these errors were encountered: