Skip to content

InitParameters

Panoramax.utils.InitParameters

Kind: static class of Panoramax.utils

new InitParameters([componentAttrs], [urlParams], [browserStorage])

Merges all URL parameters and component attributes into a single set of coherent settings.

Param Type Description
[componentAttrs] object HTML attributes from parent component
[urlParams] object Parameters extracted from URL
[browserStorage] object Parameters read from local/session storage

initParameters.getParentInit()

Get core component initialization parameters. They must be passed as soon as possible.

Kind: instance method of InitParameters

initParameters.getParentPostInit()

Get core component post-initialization parameters. They must be passed after first rendering or init.

Kind: instance method of InitParameters

initParameters.getPSVInit()

Get Photo Sphere Viewer initialization parameters. They must be passed as soon as possible.

Kind: instance method of InitParameters

initParameters.getPSVPostInit()

Get Photo Sphere Viewer post-initialization parameters. They must be passed after first rendering or init.

Kind: instance method of InitParameters

initParameters.getMapInit()

Get MapLibre GL initialization parameters. They must be passed as soon as possible.

Kind: instance method of InitParameters

initParameters.getMapPostInit()

Get MapLibre GL post-initialization parameters. They must be passed after first rendering or init.

Kind: instance method of InitParameters