Widgets

The Widgets section in the editor allows you to add, configure, and manage interactive interface elements overlaid on your map.

1. Widget List

This panel displays all interactive elements added to the map. You can add, delete, or reorder widgets. The following widgets are available:

SettingDescription
Scene TitleDisplays the name of the current scene.
Fit to ScreenAutomatically scales the canvas view to fit the map container’s size.
Fullscreen ToggleAllows users to switch the map view to full-screen mode.
Zoom ControlsProvides buttons to zoom in and zoom out of the map.
Scene Dots NavigationDisplays dot indicators for navigating between different scenes.
Scene Switcher NavigationProvides a menu to switch between scenes.

2. Widget Properties

Selecting a widget opens its detailed settings in the right-hand panel. There are two sections:

General Properties:

SettingDescription
IDA unique identifier for the widget (used for copying or referencing in code).
UI SlotThe positioning of the element within the map container (e.g., Bottom Right, Bottom Left, etc.).
CSS classesA field for adding custom CSS classes to apply tailored styling.

Appearance: settings are split into Normal (default state) and Hover (mouse-over state) tabs.

SettingDescription
Text ColorChanges the color of the widget text.
BackgroundSets the background color and opacity (using HEX/RGBA values).
Border RadiusAdjusts the corner roundness of the widget element (in pixels).
OpacityControls the overall transparency of the widget.