Installation
Usage
Plugin configuration
Initial list of overlays. Not updatable — use the methods below to add or remove overlays at runtime.
Automatically remove all overlays when the panorama changes. Updatable.
Apply the global
sphereCorrection viewer option to each overlay. Not updatable after init.Overlay configuration
Each overlay is either a spherical overlay (one image/video) or a cube overlay (six images). All overlays share the following base properties.Unique identifier used to remove the overlay with
removeOverlay(). Defaults to a random value.Opacity of the overlay.
Stacking order when multiple overlays overlap.
Spherical overlays
Path to the overlay image or video file.
Crop data for partial panoramas. Works the same as the core
panoData option. The fullWidth here does not have to match the base panorama — croppedX/croppedY are scaled accordingly.Cube overlays
Six face images in the cubemap format. All six faces are required but individual faces can be
null. See the cubemap adapter page for accepted syntax.