【问题标题】:Getting images from Google maps V2 from latitude and longitude从经纬度从谷歌地图 V2 获取图像
【发布时间】:2014-05-04 11:07:18
【问题描述】:

我正在制作一个用于住房的 android 应用程序。这个应用程序适用于在任何地方寻找住房的人。我有一个正在转租的房子的纬度和经度。现在我想要那所房子的街景,以便我可以在应用程序中显示它。我该怎么做?

我不能发布任何代码,因为它需要保密。

【问题讨论】:

    标签: android google-maps locationmanager google-street-view


    【解决方案1】:

    试试这个代码,

    Intent streetView = new Intent(android.content.Intent.ACTION_VIEW,Uri.parse("google.streetview:cbll="+ latitude+","+longitude+"&cbp=1,99.56,,1,-5.27&mz=21"));
    startActivity(streetView);
    

    确保您已安装 Street View 应用程序。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-07-13
    • 1970-01-01
    • 2012-09-28
    • 2017-12-04
    相关资源
    最近更新 更多