Editing Interactions

To configure interactions for a feature, follow these steps:

  1. Select the Feature:
    • Click on the desired feature to select it.
  2. Open the Interactions Tab:
    • Navigate to the Interactions tab in the right-side panel.
  3. Edit Interactions:
    • Click the Edit Interactions button to open the Interactions dialog box.
  4. Add a New Interaction:
    • Press the + Add Interaction button to create a new interaction.

Configuring Interactions

Interactions consist of two main components:

  1. Mouse Interaction Type:

    • Specify when the action will be triggered. Options include:
      • On Click: Triggered when the feature is clicked.
      • On Deselect: Triggered when clicking off the feature after it’s selected.
      • On Hover: Triggered when hovering over the feature.
      • On Panel Click: Triggered when clicking the feature’s list item in the left-side panel of the Viewer.
  2. Action Type:

    • Choose the action to be performed when the interaction is triggered.

Once the interaction type is selected, configure the corresponding action in the dialog box.


Action Types

The following table lists the available action types and their descriptions:

Action Type Description
Move Sets a feature's position.
Rotate Sets a feature's rotation.
Scale Sets a feature's scale.
Focus Moves the camera to a specified feature.
Hide Hides a specified feature in the scene.
Show Shows a specified feature in the scene.
ToggleHidden Toggles the visibility of a specified feature in the scene.
OpenScene Opens a specified scene.
DisableInteractions Disables the interactability of a specified feature.
EnableInteractions Enables the interactability of a specified feature.
ToggleInteractions Toggles the interactability of a specified feature.
LoadOut (3D features only) Unloads the feature’s model and frees browser memory; the feature is not deleted.
LoadIn (3D features only) Reloads the 3D model into the scene.
ToggleLoad Toggles loading/unloading of a feature’s 3D model.
OpenTab Opens a specified URL in a new browser tab.
ShowDetails Displays a feature’s details in an overlay dialog or the right-side panel.
MoveTo Moves the camera to the current orientation.

With these tools, you can create dynamic and interactive features tailored to your visualization needs.