AnsweredAssumed Answered

Layer Swipe... initial position of swipeDiv

Question asked by nickoday2005 on Oct 2, 2013
Latest reply on Oct 3, 2013 by MDriscoll-esristaff
What is the best way to control the initial position of the swipeDiv in the Layer Swipe example?  I'd like to have our streets basemap displayed first (and fully) when a user opens the app, but then give them the option of seeing both basemaps (streets and imagery) after the app loads.  Setting the position of swipeDiv via CSS doesn't seem to work, nor does it seem like the smart thing to do since it's controlling other divs.