Use the map-widget.MapWidgetFactory service to inject an instance of this interface.
map-widget.MapWidgetFactory
The MapWidgetFactory provides some methods to create the parts of a MapWidget.
Creates a esri/Map instance.
options of the esri/Map constructor.
the new map instance.
Map
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 esri/Map instance.
map
esri/Map
options of the MapWidgetModel constructor.
the MapWidgetModel instance.
Use the
map-widget.MapWidgetFactory
service to inject an instance of this interface.The MapWidgetFactory provides some methods to create the parts of a MapWidget.