mistic100 / Photo-Sphere-Viewer

A JavaScript library to display 360° sphere panoramas.
https://photo-sphere-viewer.js.org
MIT License
1.8k stars 645 forks source link

Adding multiple pictures #1317

Closed yannik2480 closed 1 month ago

yannik2480 commented 1 month ago

Describe your problem

Hey folks!

I was trying to figure out a way how to switch the 360 image when for example clicking on a marker. So you have like a 360 tour.

Has anyone successfully implemented such a thing, found nothing in the docs

Online demo URL

No response

Photo Sphere Viewer version

5.7.4

Plugins loaded

No response

Additional context

No response

mistic100 commented 1 month ago

https://photo-sphere-viewer.js.org/plugins/markers.html to add interractive elements

https://photo-sphere-viewer.js.org/guide/methods.html#setpanorama-panorama-options-promise to change the image

and the various events to stick it together


or use the plugin https://photo-sphere-viewer.js.org/plugins/virtual-tour.html

yannik2480 commented 1 month ago

Perfect! Also the license allows me to use this library with combined web code of mine and resell it for private people? Or does it just support personal use?

mistic100 commented 1 month ago

https://github.com/mistic100/Photo-Sphere-Viewer/blob/main/LICENSE