Android Question Panoramic View

adastra

Member
Licensed User
Longtime User
Hi
I want to develop an app , wherein I want to load a full panoramic (360 degree) image and when we move the mobile to right, left , up , down the relevant portion of the image shall be displayed. Can anyone point me to right direction for the b4a library or any sample code ? Thanks
 

warwound

Expert
Licensed User
Longtime User
The PanoramaClient is an external activity you can call to display a panorama.

An alternative is the StreetViewPanoramaView:
https://www.b4x.com/android/forum/threads/googlemapsextras.26277/page-7#post-250549
StreetViewPanoramaView allows you to embed the panorama in your b4a activity - it's a View not an Activity.

But StreetViewPanoramaView only displays panoramas hosted on Google+ and Google Views.
It can't display a panorama from any other source - such as your app's assets or an http url.
It also has no built in methods to rotate the panorama as the device is rotated.

Martin.
 
Upvote 0
Top