I am using ESRI map version 4.1 for generating map in my angular application and its working fine. What I want now is to disable zoom on double click on the map. I have done lot of googling and most of them suggestion stopPropagation()
method, but the event
itself is not having this function and its throwing error.
what I have tried is
view.on('double-click', function(event){
event.stopPropagation()
});
It is giving me the error
event.stopPropagation is not a function
I am using ESRI javascript library version 4.1.
Anybody has any idea how can I stop zooming on double click?