Select to view content in your preferred language

Draw Widget with Pan tool

816
1
04-16-2013 08:24 AM
HelioHiroshi
Deactivated User
Hi,
I`m using drawWidget (flexviewer 2.1), I added some mouse events to the graphics made by the tool, but its seems to ignore the pan tool when i`m trying to move inside a graphic. The pan tool only works if I remove all the mouse event listeners from the graphic. I saw the latest version of this widget and it doesn`t have this issue, is there some way to change just this aspect?
Tags (2)
0 Kudos
1 Reply
omega_cancer
Frequent Contributor
Hi,
I`m using drawWidget (flexviewer 2.1), I added some mouse events to the graphics made by the tool, but its seems to ignore the pan tool when i`m trying to move inside a graphic. The pan tool only works if I remove all the mouse event listeners from the graphic. I saw the latest version of this widget and it doesn`t have this issue, is there some way to change just this aspect?



After you are done with edittool you need to reset it to make the map work normally.When you are one with it call:

setMapAction(null,null,null,null);


Hope that it will solve your issue.
Thanks
0 Kudos