With this Code you can get the picture of a Google Street View Position. Here you can check if is available.
Have Fun with a new feature!
B4X:
Sub getStreetViewPicture(width As Int, height As Int ,lat As Float, lon As Float)
Dim j As HttpJob
j.Initialize("", Me)
j.Download("https://maps.googleapis.com/maps/api/streetview?size=" & width & "x" & height & "&location=" & lat & "," & lon)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
myImageView.Bitmap = j.GetBitmap
End If
j.Release
End Sub
Have Fun with a new feature!
Last edited: