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(); },
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.