Skip to content

5.10.0

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Sep 17:18
· 63 commits to main since this release

Full changelog: 5.9.0...5.10.0

Incoming breaking change

After a discussion in #1406 it appeared that the pose angles defined in the XMP embedded data were incorrectly applied, resulting in an incorrect panorama orientation especially with big angles (like an upside down camera). In order to fix it and mitigate the breaking change, a migration path has been planned:

  • with version 5.10.0 the behaviour does not change but a warning is logged in the console if you use pose angles or sphere correction. You can opt-in to the new behaviour by defining the global property Viewer.useNewAnglesOrder to true.
  • with version 5.11.0 the new behaviour will be the default. You will be able to opt-out by setting Viewer.useNewAnglesOrder to false.
  • with version 5.12.0 the new behaviour will be forced and the global property will be removed.

Thanks @PanierAvide

Bug fixes

  • #1400 tooltip placement with scroll
  • #1419 compass: compatibility with markers
  • #1416 markers: updating tooltip while displayed

New features

  • #1411 map/plan: add minimizeOnHotspotClick option
  • !1407 video: support MediaStream source

Other changes

  • #1412 compatibility with Web Components: some rework has been done to be able to use Photo Sphere Viewer inside Web Components (note: it is not compatible with closed shadow DOM)