Map templates can be embedded in Workshop modules. Their parameter values can be passed directly from Workshop variables.
There are three steps to embed a map template in a Workshop module:
In a section of your choice in the Workshop module, select the + icon or + Add widget to open the widget menu, and search for the Map widget.
In the Layers section of the widget editor, select Import map template instead of the default Local configuration. Under the Resource setting, choose Select to see a list of compatible resources and select the map template resource you want to embed.
For the Map widget, most of the configuration options are the same for local configuration and embedded templates. For general configuration, refer to the Map widget documentation. Some widget settings only apply to the embedded template configuration:
Layers
Interaction
Interface
Previously, template inputs were supplied using a single input object set variable that contained all the required object types defined in the map template. This is now discouraged as it only works for templates without non-object parameters and one object parameter per object type. If you wish to use this feature regardless, select the Use legacy input object set checkbox and supply an object set variable.