Disable onClick Event when Panning the map

Discussion created by beck3905 on Apr 8, 2013
Latest reply on Apr 8, 2013 by evtguy
I have a custom onClick event handler for my map.  I'm finding that the handler is called when I click on the map to pan.  Is there a way to disable the onClick event if the map is panning?