I'm using Google Maps Android API v2 and I've got everything set up correctly. I have set some markers based on latitude / longitude.
How can I add the Street View image of the lat/lng as an icon?
/* Google Maps API v2 map set code here */
Marker marker = map.addMarker(new MarkerOptions().position(point)
.title("Title")
.snippet("Snippet")
.icon( StreetViewObject? ));
Thanks
You can use this api to get an image based on your latitude and longitude:
https://developers.google.com/maps/documentation/streetview/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.