I'm looking to add my own event handler for the mapView's double-click event. How do I go about disabling the default mapView's double-click event handler or any other default event handler like click.
Antonio,
Just use the evt.stopPropagation();
view.on("double-click", function(evt) { evt.stopPropagation(); console.info(evt); });<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Thanks. That worked
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.