How to check if position if valid in StreetView in Android

后端 未结 5 1515
执笔经年
执笔经年 2020-12-16 15:22

I have an app that is randomly generating positions in a GoogleMaps based on a defined boundary. So I first generate a random LatLng and then I verify if this point is insid

5条回答
  •  鱼传尺愫
    2020-12-16 15:40

    I've created a small library (based on VVB's answer), that lets you (pretty reliably) check if StreetView is available for a specific location.

    Feel free to check it out.

    StreetViewProbe

提交回复
热议问题