Summary
In ArcGIS Experience Builder, adding a keyboard shortcuts menu for map navigation provides a quick reference for available keyboard controls and supports more efficient map navigation. This article provides workflow to display keyboard shortcut guidance using the Widget Controller or Sidebar widget in Experience Builder.
Procedure
Use the Widget Controller widget
- Open the web experience in Experience Builder.
- In the Insert widget panel, search for the Widget Controller widget, drag the widget, and drop it onto the canvas.
- Click the Widget Controller on the canvas, then click the Add widget
icon, and add the Image widget into the Widget Controller. Refer to ArcGIS Experience Builder: Usage notes for instructions. - Click the Image widget within the Widget Controller to open the configuration panel.
- Configure the Image widget in the configuration panel.
- On the Content tab, for Image source, click the Select an image button.
- In the Select an image pane, click Upload to upload the keyboard shortcut guidance image for the widget.
- Save, preview, and publish the experience.
The web experience below displays the keyboard shortcut guidance when the Widget Controller icon is clicked.
Use the Sidebar widget
- Open the web experience in Experience Builder.
- In the Insert widget panel, search for the Sidebar widget, drag the widget, and drop it onto the canvas.
- Configure the Sidebar widget in the configuration panel.
- On the Content tab, for Default state, click the drop-down menu and select Collapsed.
- Toggle Collapse button and Divider off.
- Add and configure the Image widget.
- In the Insert widget panel, search for the Image widget, drag the widget, and drop it into the Sidebar widget.
- Click the Image widget within the Sidebar widget to open theĀ configuration panel.
- On the Content tab, for Image source, click the Select an image button.
- In the Select an image pane, click Upload to upload the keyboard shortcut guidance image for the widget.
- Add and configure the Button widget.
- In the Insert widget panel, search for the Button widget, drag the widget, and drop it onto the canvas.
- In the Button widget configuration panel, on the Action tab, click the Add a trigger button.
- In the Select a trigger pane, click Button click.
- In the Select a target pane, click Sidebar.
- In the Select an action pane, click Toggle sidebar.
- Save, preview, and publish the experience.
The web experience below displays the keyboard shortcut guidance in the sidebar when the button is clicked.
Note:
Ensure the map is selected before using the keyboard shortcuts.