Photo Sphere Viewer 4
PSV
Members
DEFAULTS
SYSTEM
Typedefs
AnimateOptions
ClickData
CssSize
ExtendedPosition
NavbarCustomButton
Options
PanoData
PanoDataProvider
PanoramaOptions
Point
Position
Size
SphereCorrection
TextureData
Methods
registerButton
Events
autorotate
before-render
before-rotate
click
close-panel
config-changed
dblclick
fullscreen-updated
get-animate-position
get-rotate-position
hide-notification
hide-overlay
hide-tooltip
key-press
load-progress
open-panel
panorama-loaded
position-updated
ready
render
show-notification
show-overlay
show-tooltip
size-updated
stop-all
zoom-updated
PSV.adapters
PSV.buttons
PSV.components
PSV.constants
Members
ACTIONS
ANIMATION_MIN_DURATION
CHANGE_EVENTS
CTRLZOOM_TIMEOUT
DBLCLICK_DELAY
DEFAULT_TRANSITION
EASINGS
EVENTS
IDS
INERTIA_WINDOW
KEY_CODES
LONGTOUCH_DELAY
MESH_USER_DATA
MOVE_THRESHOLD
OBJECT_EVENTS
SPHERE_RADIUS
TWOFINGERSOVERLAY_DELAY
VIEWER_DATA
PSV.plugins
PSV.services
PSV.utils
Methods
addClasses
applyEulerInverse
cleanPosition
clone
createTexture
dasherize
deepmerge
distance
each
exitFullscreen
firstNonNull
getAbortError
getAngle
getClosest
getPosition
getShortestArc
getStyle
getXMPValue
greatArcDistance
hasParent
isAbortError
isEmpty
isExtendedPosition
isFullscreenEnabled
isNil
isPlainObject
logWarn
normalizeWheel
parseAngle
parsePosition
parseSpeed
pluginInterop
removeClasses
requestFullscreen
sum
throttle
toggleClass
Global
Methods
bound
isPowerOfTwo
loop
positionIsOrdered
PSV.adapters.AbstractAdapter
Members
id
OVERLAY_UNIFORMS
psv
supportsDownload
supportsOverlay
Methods
createOverlayMaterial
createMesh
destroy
disposeTexture
loadTexture
setOverlay
setTexture
setTextureOpacity
supportsPreload
supportsTransition
PSV.adapters.CubemapAdapter
Members
id
OVERLAY_UNIFORMS
psv
supportsDownload
supportsOverlay
Typedefs
Cubemap
Options
Methods
createMesh
destroy
disposeTexture
loadTexture
setOverlay
setTexture
setTextureOpacity
supportsPreload
supportsTransition
PSV.adapters.CubemapTilesAdapter
Members
id
OVERLAY_UNIFORMS
psv
supportsDownload
supportsOverlay
Typedefs
Options
Panorama
TileUrl
Methods
createMesh
destroy
disposeTexture
loadTexture
setOverlay
setTexture
setTextureOpacity
supportsPreload
supportsTransition
PSV.adapters.CubemapVideoAdapter
Members
id
OVERLAY_UNIFORMS
psv
supportsDownload
supportsOverlay
Typedefs
Options
Video
Methods
createMesh
destroy
disposeTexture
loadTexture
setOverlay
setTexture
setTextureOpacity
supportsPreload
supportsTransition
PSV.adapters.EquirectangularAdapter
Members
id
OVERLAY_UNIFORMS
psv
supportsDownload
supportsOverlay
Typedefs
Options
Methods
createMesh
destroy
disposeTexture
loadTexture
setOverlay
setTexture
setTextureOpacity
supportsPreload
supportsTransition
PSV.adapters.EquirectangularTilesAdapter
Members
id
OVERLAY_UNIFORMS
psv
supportsDownload
supportsOverlay
Typedefs
Options
Panorama
TileUrl
Methods
createMesh
destroy
disposeTexture
loadTexture
setOverlay
setTexture
setTextureOpacity
supportsPreload
supportsTransition
PSV.adapters.EquirectangularVideoAdapter
Members
id
OVERLAY_UNIFORMS
psv
supportsDownload
supportsOverlay
Typedefs
Options
Video
Methods
createMesh
destroy
disposeTexture
loadTexture
setOverlay
setTexture
setTextureOpacity
supportsPreload
supportsTransition
PSV.adapters.LittlePlanetAdapter
Members
id
OVERLAY_UNIFORMS
psv
supportsDownload
supportsOverlay
Methods
createMesh
destroy
disposeTexture
loadTexture
setOverlay
setTexture
setTextureOpacity
supportsPreload
supportsTransition
PSV.buttons.AbstractButton
Members
children
container
groupId
icon
iconActive
id
parent
prop
psv
Methods
checkSupported
collapse
destroy
disable
enable
hide
isSupported
isVisible
refreshUi
show
toggle
toggleActive
uncollapse
PSV.buttons.AbstractMoveButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.AbstractZoomButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.AutorotateButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.CustomButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.DescriptionButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.DownloadButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.FullscreenButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.GalleryButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.GyroscopeButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.MarkersButton
Members
children
container
groupId
icon
iconActive
id
parent
plugin
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.MarkersListButton
Members
children
container
groupId
icon
iconActive
id
parent
plugin
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.MenuButton
Members
BUTTON_DATA
children
container
groupId
icon
iconActive
id
MENU_TEMPLATE
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.MoveDownButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
disable
enable
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.MoveLeftButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
disable
enable
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.MoveRightButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
disable
enable
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.MoveUpButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
disable
enable
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.PlayPauseButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.SettingsButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
setBadge
toggle
toggleActive
uncollapse
PSV.buttons.StereoButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.TimeCaption
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.VolumeButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.ZoomInButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
disable
enable
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.ZoomOutButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
disable
enable
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.buttons.ZoomRangeButton
Members
children
container
groupId
icon
iconActive
id
parent
psv
Methods
checkSupported
collapse
destroy
disable
enable
isSupported
isVisible
refreshUi
toggle
toggleActive
uncollapse
PSV.components.AbstractComponent
Members
children
container
parent
prop
psv
Methods
destroy
hide
isVisible
refreshUi
show
toggle
PSV.components.Loader
Members
children
container
parent
prop
psv
Methods
destroy
hide
isVisible
refreshUi
setProgress
show
toggle
PSV.components.Navbar
Members
children
container
parent
prop
psv
Methods
destroy
getButton
hide
isVisible
refreshUi
setButtons
setCaption
show
toggle
PSV.components.NavbarCaption
Members
children
container
parent
prop
psv
Methods
destroy
hide
isVisible
setCaption
show
toggle
PSV.components.Notification
Members
children
container
parent
prop
psv
Methods
destroy
hide
isVisible
refreshUi
show
toggle
PSV.components.Overlay
Members
children
container
parent
prop
psv
Methods
destroy
hide
isVisible
refreshUi
show
toggle
PSV.components.Panel
Members
children
container
parent
prop
psv
Methods
destroy
hide
isVisible
refreshUi
show
toggle
PSV.components.Tooltip
Members
arrow
children
container
parent
prop
psv
Typedefs
Config
Position
Methods
destroy
hide
isVisible
move
refreshUi
show
toggle
PSV.plugins.AbstractPlugin
Members
id
psv
Methods
destroy
init
PSV.plugins.AutorotateKeypointsPlugin
Members
id
keypoints
psv
Typedefs
Keypoint
KeypointObject
Options
Methods
destroy
init
setKeypoints
PSV.plugins.CompassPlugin
Members
id
psv
Typedefs
Hotspot
Options
Methods
clearHotspots
destroy
hide
init
setHotspots
show
PSV.plugins.GalleryPlugin
Members
EVENTS
id
psv
Typedefs
Item
Options
Methods
__click
destroy
hide
init
setItems
show
toggle
Events
hide-gallery
show-gallery
PSV.plugins.GyroscopePlugin
Members
EVENTS
id
psv
Typedefs
Options
Methods
destroy
init
isEnabled
start
stop
toggle
Events
gyroscope-updated
PSV.plugins.MarkersPlugin
Members
EVENTS
config
container
id
markers
psv
svgContainer
Typedefs
Options
Properties
SelectMarkerData
Methods
addMarker
clearMarkers
destroy
getCurrentMarker
getMarker
getMarkers
getNbMarkers
gotoMarker
hide
hideAllTooltips
hideMarker
hideMarkersList
hideMarkerTooltip
init
removeMarker
removeMarkers
renderMarkers
setMarkers
show
showAllTooltips
showMarker
showMarkerPanel
showMarkersList
showMarkerTooltip
toggleAllTooltips
toggleMarker
toggleMarkersList
updateMarker
Events
goto-marker-done
hide-markers
leave-marker
marker-visibility
over-marker
select-marker
select-marker-list
set-marker
show-markers
unselect-marker
filter:render-markers-list
PSV.plugins.MarkersPlugin.Marker
Members
$el
config
data
id
props
psv
tooltip
type
visible
Methods
getType
destroy
getListContent
getScale
hideTooltip
is3d
isNormal
isPoly
isPolygon
isPolyline
isPolyPx
isPolyRad
isSvg
refreshTooltip
showTooltip
update
PSV.plugins.ResolutionPlugin
Members
EVENTS
config
id
psv
resolutions
Typedefs
Options
Resolution
Methods
destroy
getResolution
init
setResolution
setResolutions
Events
resolution-changed
PSV.plugins.SettingsPlugin
Members
EVENTS
TYPE_OPTIONS
TYPE_TOGGLE
config
id
psv
Typedefs
Option
Options
OptionsSetting
Setting
StorageGetter
StorageSetter
ToggleSetting
Methods
addSetting
applySettingOption
destroy
hideSettings
init
removeSetting
showSettings
toggleSettings
toggleSettingValue
updateButton
Events
setting-changed
PSV.plugins.StereoPlugin
Members
EVENTS
id
prop
psv
Methods
destroy
init
isEnabled
start
stop
toggle
Events
stereo-updated
PSV.plugins.VideoPlugin
Members
id
psv
Typedefs
Keypoint
Options
Methods
destroy
getDuration
getProgress
getTime
getVolume
init
isPlaying
pause
play
playPause
setKeypoints
setMute
setProgress
setTime
setVolume
Events
buffer
pause
play
progress
volume-change
PSV.plugins.VirtualTourPlugin
Members
EVENTS
MODE_3D
MODE_CLIENT
MODE_GPS
MODE_MANUAL
MODE_MARKERS
MODE_SERVER
datasource
id
psv
Typedefs
ArrowStyle
GetNode
Node
NodeChangedData
NodeLink
Options
Preload
Methods
destroy
init
is3D
isGps
isServerSide
setCurrentNode
setNodes
Events
node-changed
node-changed
PSV.plugins.VisibleRangePlugin
Members
id
psv
Typedefs
Options
Methods
destroy
init
setLatitudeRange
setLongitudeRange
setRangesFromPanoData
PSV.PSVError
PSV.services.AbstractService
Members
config
prop
psv
Methods
destroy
PSV.services.DataHelper
Members
config
prop
psv
Methods
cleanPanoramaPose
cleanPosition
cleanSphereCorrection
destroy
fovToZoomLevel
getIntersections
speedToDuration
sphericalCoordsToTextureCoords
sphericalCoordsToVector3
sphericalCoordsToViewerCoords
textureCoordsToSphericalCoords
vector3ToSphericalCoords
vector3ToViewerCoords
vFovToHFov
viewerCoordsToVector3
zoomLevelToFov
PSV.services.EventsHandler
Members
config
prop
psv
state
Methods
__fullscreenToggled
destroy
disableKeyboard
enableKeyboard
init
PSV.services.Renderer
Members
camera
canvasContainer
config
mesh
prop
psv
raycaster
renderer
scene
Methods
destroy
hide
render
setOverlay
setPanoramaPose
setSphereCorrection
setTexture
show
transition
PSV.services.TextureLoader
Members
config
prop
psv
Methods
abortLoading
destroy
loadFile
loadImage
preloadPanorama
PSV.services.TooltipRenderer
Members
config
prop
psv
size
Methods
create
destroy
PSV.utils.Animation
Typedefs
OnTick
Methods
cancel
then
PSV.utils.Dynamic
Members
current
Methods
goto
roll
setSpeed
setValue
step
stop
update
PSV.utils.MultiDynamic
Members
current
Methods
goto
roll
setSpeed
setValue
step
stop
update
PSV.utils.Slider
Members
container
prop
psv
vertical
Methods
destroy
PSV.Viewer
Members
adapter
children
config
container
dataHelper
dynamics
eventsHandler
loader
navbar
notification
overlay
panel
parent
plugins
prop
renderer
textureLoader
tooltip
Methods
__stopAll
animate
autoSize
destroy
disableIdleTimer
enterFullscreen
exitFullscreen
getPlugin
getPosition
getSize
getZoomLevel
hideError
isAutorotateEnabled
isFullscreenEnabled
needsUpdate
observeObjects
refreshUi
resetIdleTimer
resize
rotate
setOption
setOptions
setOverlay
setPanorama
showError
startAutorotate
startKeyboardControl
stopAnimation
stopAutorotate
stopKeyboardControl
toggleAutorotate
toggleFullscreen
zoom
zoomIn
zoomOut
Class: PSVError
PSV
.
PSVError
new PSV.PSVError
(message)
Custom error used in the lib
Name
Type
Description
message
string