AnsweredAssumed Answered

layerswipe issue

Question asked by moraleslos on Apr 1, 2015
Latest reply on Feb 29, 2016 by bralston

I'm trying to user the layerswipe (JS API) widget in a map that is enclosed in a div that is on a page with many map-based divs.  For some reason the layer swipe widget does not apply within the div's dimensions and essentially goes full screen.  Also if there is content above the map div and below, when you move the swipe widget it disappears from the map.  Scrolling down the page you'll find the swipe widget somewhere else.  When I apply the same map style to the swipewidget div, it seems to shift the div to the right so that it is not in sync with the map.  Just having all kinds of problems with this widget.  Any help would be appreciated.

 

full page.png

Outcomes