Creates a MapWidget instance.
options of the MapWidget constructor.
the MapWidget instance.
Creates a MapWidgetModel instance.
Note: in options the map parameter is required and needs to be a @arcgis/core/Map instance.
options of the MapWidgetModel constructor.
the MapWidgetModel instance.
Use the
map-widget.MapWidgetFactoryservice to inject an instance of this interface.The MapWidgetFactory provides some methods to create the parts of a MapWidget.