Select to view content in your preferred language

Experience Builder - Bookmark Widget - turning layers on

510
13
09-17-2024 09:47 AM
SaraBellchamber1
Emerging Contributor

Hello,

I'm having an issue. I have an EB built that includes some bookmarks to zoom to particular areas.  I've also defaulted the view to only have about half of the layers turned on. The user needs those layers but does not need them turned on all the time. Recently (in the past few months?), using the bookmarks also automatically turns ALL of the layers on. This is frustrating and annoying.  I noticed that there is an option for "Ignore layer visibility". I have tried both modes (checked & unchecked) and both options result in all layers being turned on when I use the bookmark. Is this a known problem?  How can I make it so that clicking on a bookmark DOES NOT alter the layers I currently have turned on. 

Thanks!

13 Replies
JeffreyThompson2
MVP Regular Contributor

I'm guessing that the issue here is that you created the bookmarks before the Ignore Layer Visibility option was added. Try deleting and re-creating your bookmarks with this option turned on.

GIS Developer
City of Arlington, Texas
RandyMcGregor_BMcD
Frequent Contributor

Same. I turned off the 'Ignore Layer Visibility' option and my bookmarks are still turning every layer on.

0 Kudos
LucasFellure
New Contributor

I'm having the exact same problem on my experience builder.

WeiYing1
Esri Regular Contributor

@SaraBellchamber1 @LucasFellure thanks for your feedback! 
To honor your layer visibility setting of your bookmarks, please make sure you check off "Ignore layer visibility". Also are you able to share your application for us to troubleshoot? Thanks!

0 Kudos
RandyMcGregor_BMcD
Frequent Contributor

I'm having the same issue.

0 Kudos
RandyMcGregor_BMcD
Frequent Contributor

Unless I'm mistaken, this should be: To honor your layer visibility setting of your bookmarks, please make sure you check off ON "Ignore layer visibility".  The terminology appears to be incorrect. Or the code got reversed. If I am mistaken, I am happy to be publicly shamed. 🙂 For me checking 'Ignore layer visibility.' honors layer visibility.

0 Kudos
SaraBellchamber1
Emerging Contributor

Hi all,

Update: My bookmarks are sourced from within the webmap that is in my Experience. (I think this is the only way to add bookmarks to EB, but wanted to be explicit just in case there's another option).  With my EB closed, I went into each bookmark and systematically deleted and recreated each one and gave them the exact same name and kept them in the same order. I didn't want to have to update the widget config any more than needed.

Then, opened EB and within the EB/Bookmark widget I have "Display bookmarks from webmap" and "Ignore layer visibility" checked on.  This did the trick. 

RandyMcGregor_BMcD
Frequent Contributor

It appears as though 'Ignore layer visibility' is just a very confusing term. Either that or the code got flipped. 'Ignore layer visibility' when it is checked RESPECTS layer visibility. When it is unchecked, it IGNORES layer visibility (ie it shows everything). I think the label needs to be changed to 'Respect layer visibility.' That way, when it's turned on, the result is intuitive.

ChristopherCoutu
Regular Contributor

I'm having this issue and  I can't find the 'Ignore layer visibility' check box. Where do you find it? Is it in the bookmark widget controls? A screen shot would help me.

 

0 Kudos