| Name | Type | Description |
|---|---|---|
containerElement |
String | ID of the HTML element that should contain the tour |
sceneData |
String | Path of a json file that contains the structure of the tour |
imageDirectory |
String | Path of the directory that contains the 360-degree images (optional) |
Source: VirtualTour.js, line 12
Learn how to structure the .json tourFile here.
Starts the animation of the virtual tour
Source: VirtualTour.js, line 243
Stops the animation of the virtual tour
Source: VirtualTour.js, line 249
Changes the HTML element containing the virtual tour
| Name | Type | Description |
|---|---|---|
elementId |
String | HTML element ID |
Source: VirtualTour.js, line 253