A widget is a UI component that supports user interaction or displays information about the data in a map or scene. A widget can be interactive, or can be used to enhance the map or scene. For example, a zoom widget allows users to interact with the level of detail shown on a map or scene; a legend widget displays information about the data layers.