How can I cancel mouse events in JavaScript?
When I left-click on any object I want to cancel the default behavior of the left mouse click. Is it posible in JavaScript?
On google map on left mouse drag map pan to any direction.
google.maps.event.addListener(Layers.map, 'mousemove', function (event) { // what to do heve }
preventDefault()method, which is what the OP is looking for. - Mattygabe