Map pan over polygons

355
3
11-08-2010 05:27 AM
EddieJesinsky
New Contributor
Hi,

I have noticed that in QueryWidget for example, it is not possible to pan by dragging the map while over any graphics (polygons in particular) when they have listeners for MouseEvent.CLICK. MouseEvent.MOUSE_OVER, etc still work, but I would like to be able to pan by dragging the map anywhere, not just outside the area covered by the graphics (and keep the click functionality). Is this possible?

Thank you
Tags (2)
0 Kudos
3 Replies
DasaPaddock
Esri Regular Contributor
0 Kudos
KeithPalmer
New Contributor
Thanks for that suggestion Dasa.  That's fixed the non-pan issues I was having.  I did see this property before, but the documentation (or at least the property name) is misleading.  For those reading this, setting the checkforMouseListeners to false doesn't actually turn off the mouse listeners.  It just turns off the pan/zoom prevention.

-Keith
0 Kudos
EddieJesinsky
New Contributor
Worked great, thanks!
0 Kudos