Can you create a helper similar to what mistic100 did in his fork?
So you can simply call to setPanorama to change picture.
.setPanorama(path [, position] [, transition]) -> Promise
Loads a new panorama image, optionnally changing the camera position and activating or not the transition animation.
viewer.setPanorama(
'panorama-2.jpg',
{
longitude: Math.PI,
latitude: 0
},
true
);
Can you create a helper similar to what mistic100 did in his fork?
So you can simply call to setPanorama to change picture.
http://photo-sphere-viewer.js.org/