AnsweredAssumed Answered

Double-click event & infoWindow

Question asked by evtguy on Jul 27, 2016
Latest reply on Jul 28, 2016 by evtguy


I'm having a little trouble with the double click event and infoWindows. My featureLayer has a popup associated with it which displays when features are single clicked. I want to implement a double click to toggle between starting/stopping vertex editing. When I double click a feature, I still get the popup window even though I think I have coded to prevent it:

 

        theLayer.on("dbl-click", function(evt) {
            map.infoWindow.hide();
            event.stop(evt);
             //Do Something...
        });

 

I would imagine that the event.stop() method is only addressing the double click event and not the single click event so how do I stop the popup during a double click event?

Outcomes