Widget on-screen configuration

The following table describes the attributes for widget on-screen configuration.

AttributeDescription

panel

Optional. Widgets that are not in a group open in the panel. If not set, the default panel is jimu/OnScreenWidgetPanel.

widgets

An array of widgets.

groups

An array of groups.

Example

"widgetOnScreen": {
    "panel": {
      "uri": "jimu/PanelType1"
    },

    "widgets": [{
      "uri": "widgets/Header/Widget",
      "label": "",
      "positionRelativeTo": "map",
      "position": {
        "left": 0,
        "top": 0,
        "right": 0,
        "bottom": 30,
        "width": 100,
        "height": 100
      },

      "openAtStart": true,
      "config": {}
    }],

    "groups": [{
      "panel": {
        "uri": "jimu/PanelType1",
        "positionRelativeTo": "map",
        "position": {
          "left": 0,
          "top": 0,
          "right": 0,
          "bottom": 30,
          "width": 100,
          "height": 100
        }
      },

      "widgets": [{
        "uri": "widgets/Header/Widget",
        "label": ""
      }]
    }]
  },
In this topic
  1. Example

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.