0

我正在開發一個應用程序,我正在使用地圖。我將從用戶輸入的地址獲取座標,並將其顯示在地圖中。但是現在我只想在地圖上顯示街景。 我試過改變https://www.google.co.in/maps/place/....tohttps://www.google.co.in/maps/views/....But它沒有工作。 任何人都可以幫我嗎?如何在Google地圖中獲取街景視圖?

在此先感謝。

+0

你可以請你分享你的嘗試,並突出什麼沒有工作 – Shiv 2014-12-19 05:17:42

回答

0
Uri getmap = Uri.parse("google.streetview:cbll=29.9774614,31.1329645&cbp=0,30,0,0,-15"); 
Intent mapintent = new Intent(Intent.ACTION_VIEW, getmap); 
mapintent.setPackage("com.google.android.apps.maps"); 
startActivity(mapintent); 
相關問題