Geomap panel: is it possible to create toggle switch for layers?

In my Geomap panel I have different layers (markers, heatmap, etc). Is there a way to create toggle switch to temporary disable/enable any of the layers?


When you mention toggle are you talking about feature toggle? If so I would with a programmatic way of generating the dashboard. Based on the toggle

export enum Toggle {
  LayerIot= 'LayerIot',
  LayerFarms = 'LayerFarms '

then using this toggle names programmatically you can generate the code hiding the layer you do not want.

Did you find a way to do this? I have two separate layers/queries that I’m plotting with different icons. I’d like to be able to toggle the visibility of these showing all, one, or the other.