AnsweredAssumed Answered

Multiple Click Events using Chrome and Firefox

Question asked by jmitz on Aug 22, 2013
Latest reply on Apr 25, 2016 by ahamme01
I'm having a bit of an issue with multiple click events returning on a single mouse click and single click events returning after a pan or double click in Chrome and Firefox.

I have a jsFiddle set up that shows this. I am logging the click events to the console so you will need to open developer tools to see the clicks.

Here is the javascript I am using:
var map; var clickCount = 0; require([     "esri/map",     "dojo/domReady!"],  function (Map) {     map = new Map("divMap", {         basemap: "topo",         center: [-89.5, 40],         zoom: 6     });     map.on("click", function(evt){         console.log("Clicked" + (++clickCount));     }); });


I'm using the 3.6 API.

Any suggestions for a fix?

Thanks,

Outcomes