API Examples

Below are some functional examples of the Voyager Explorer API in use.

API Example: Annotations

Use API functions to control annotations.

API Example: Background Properties

How to use change the component background properties using the API

API Example: Camera Offset

Use API functions to get or set the Explorer active camera offset.

API Example: Camera Orbit

Use API functions to get or set the Explorer active camera orbit.

API Example: Get Content

Use API functions to pull content info from the active Voyager scene.

API Example: Set Language

Use API functions to set the active language.

API Example: Toggle Displays

Use API functions to turn on/off functionality without the native UI

API Example: Tours

Use API functions to control tours.

API Example: UI Configuration

How to use the ‘uiMode’ attribute to customize the UI displayed on initial load of Explorer.