In-panel and off-panel widgets

Two types of widgets are supported: off-panel widgets (such as the Scalebar widget) and in-panel widgets (such as the Query widget). Before you begin coding, determine whether or not your widget needs a panel. The differences between the two panels are as follows:

All widgets have an initial state to indicate whether the openAtStart property is set to true or false.

You can set the inPanel property in a widget’s manifest.json file. For details, see Widget manifest.

For more information on panels, see Create a theme.