Hi all,
Is it possible to completely remove a layer option based on certain conditions? Specifically, if we define a layer (e.g., the CAT layer) in a component, will it always appear—even if the corresponding query returns no data?
To clarify, I’m not asking about simply unchecking or hiding the layer visually; I’d like to know if we can make the layer option itself disappear entirely under certain conditions.
Thanks!
Hi Rafael,
This is currently not possible. All layers that are defined in the settings of the component will always be visible on the layer selector.
If you want, you can create a feature suggestion for us to implement something like that.

Hi Sévil, that is also not currently possible
Hello,
And is it possible to hide the selector? I mean delete all the "Layers" window.
regards,
sévil