Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here's an tl;dr of the default behaviour, with the call to iglooKrPano included. See configuration and URL parameter sections below for more detailed info.

url

behaviour

<https://example.com/krpano/mytour/tour.html>

normal behaviour

.../tour.html?igloo

cubemap drawn

.../tour.html?igloo&igloo_cubemap_showui

cubemap drawn with ui

.../tour.html?igloo_viewsync

normal; viewsync set up to work inside @igloo/krpano-wrapper

Configuration

Behaviour can be modified by passing an options object to the iglooKrPano function.

...

These URL parameters are used when the default configuration is set. Overriding showUi, drawCubemap, or doViewsync will mean these parameters aren't used.

Parameter

Behaviour

igloo

Create cubemap

igloomode

Create cubemap

igloo_cubemap

Create cubemap

igloo_cubemap_showui

Do not remove UI from cubemap

igloo_viewsync

Send viewsync messages using handleViewsyncOut and setupViewsyncIn

Viewsync

In order to facilitate synchronisation of separate krpano instances (possibly in separate browsers or on separate machines), iglooKrPano() can set up viewsync.

...