Select to view content in your preferred language

Hide a layer in the Map Layers Widget in Experience Builder

4623
21
Jump to solution
02-02-2022 11:00 AM
sroberts_uuF21
New Contributor II

Hello! 

I am building out a simple mapping application using Experience Builder. I have a layer within my web map that I am using for arcade expressions within my popups but I don't want the layer showing up in my legend or layer list. In the past, when using map viewer classic and WAB, this process of hiding the layer in my layer list was pretty straightforward but it doesn't seem to be a functionality within Experience Builder/the new version of Map Viewer. 

I have figured out how to hide the layer from my legend but still no luck with the layer list. It seems like such a simple functionality, I would be surprised for it not to be supported yet. 

Any assistance is much appreciated!

Thanks!

Thanks1

21 Replies
JoshuaReyling
New Contributor II

@RhettZufelt , and @lzk222 

A possible workaround for you:

Add a 'widget controller' widget to your map, and then add the map layers widget to that.  It will show as an icon. Then you can move it to wherever.  The look is slightly different, but it gives you about the same visuals and functionality as the layers tool. 

JoshuaReyling_0-1714059670941.pnglayers tool      JoshuaReyling_1-1714059739576.pngmap layers widget

 

 

RhettZufelt
MVP Notable Contributor

Thanks, This does honor the settings and is a much nicer format.

R_

0 Kudos