I think I understand the problem.Can you try moving the swipe domNode into the map domnode? After the widget is loaded probably.Currenlty, the widget gets placed into the layers div but I think that is causing the hover issue.Like this:domConstruct.place(mySwipeWidget.domNode, dom.byId('my_map_id'), 'last');
domConstruct.place(mySwipeWidget.domNode, dom.byId('my_map_id'), 'last');
_init: function() { // set type of swipe this._setSwipeType(); // events this._setupEvents(); // check if not enabled this._enabled(); // we're ready this.set("loaded", true); this.emit("load", {}); // giddyup this.swipe(); },
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.