PanoViewer

Synchronize

Synchronize the directions of the two contents.

projection: EQUIRECTANGULAR

source: self production, flickr - Bob Dass

panoViewer1.on("viewChange", function(e) {
  panoViewer2.lookAt({yaw: e.yaw, pitch: e.pitch, fov: e.fov});
});

panoViewer2.on("viewChange", function(e) {
  panoViewer1.lookAt({yaw: e.yaw, pitch: e.pitch, fov: e.fov});
});