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.
Solved! Go to Solution.
Antonio,
Just use the evt.stopPropagation();
view.on("double-click", function(evt) {
evt.stopPropagation();
console.info(evt);
});
Antonio,
Just use the evt.stopPropagation();
view.on("double-click", function(evt) {
evt.stopPropagation();
console.info(evt);
});
Thanks. That worked