AnsweredAssumed Answered

Can the swipe widget turn one layer off while turning another on?

Question asked by cmathers on Oct 26, 2017
Latest reply on Oct 26, 2017 by rscheitlin

I am putting a simple map together to embed in a page about an impending flood zone update. The symbology for the two layers, current zones and draft zones, is the same so its not very easy to interpret where changes are happening. I'm using the swipe widget in JS-API 3.22 to turn the draft zones on with the current zones always on.


Can I do anything that will let me swipe the current flood zones off as the draft flood zones turn on? Here's a link to what I have now. It'll be iframed into a page with more information once I can get this worked out.