Android : StreetView in Google Maps android

on Tuesday, July 29, 2014


I have the requirement that I need to display the StreetView in the fragments. For that I am calling this below intent



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


After calling this intent if user selects any location then in my activity I need get the latitude and longitude of the selected location.


Please help me to get out if this issue.


0 comments:

Post a Comment