none
click event on map RRS feed

  • Question

  • using javascript api v7

    i have a click event on the map.  when i click somewhere on the map, no problem.  however, when i drag the map around and then release the mouse, a click event is fired.  just to make sure, i tried it on the interactive sdk, and the info window confirms a click.

    a similar issue has been discussed here relating to event propagation (eg, distinguishing between clicking on the map and clicking on a pushpin.)  i'm not sure event propagation at the "z" level applies here.  i'm wondering how i should approach handling the difference between a click and a drag/mouse up situation when they both fire a click event.  thanks

    go

    Thursday, January 3, 2013 4:27 AM

Answers