Workshop Map Template - Change the displayed style programmatically?

I have multiple style of layer defined in my Map Template, which I embed in my Workshop application.
https://www.palantir.com/docs/foundry/map/styling/

I want to programmatically, on some event in workshop, change the style of the layer displayed.
Is it possible ? How can I do so ?

Hello,

It is not currently supported but it is a request we’ve had in the past.

We’ll take note of the additional request and try to include it in our next round of changes to the Map template widget!

One of our team members will update this post once this kind of workflow is enabled