This has probably been addressed somewhere but I wasn't able to find it. Anyway, I have a custom widget that allows a user to select a point and then pop up a bunch of data about the point from related tables. It all works great except that the map navigation tools are still enabled when the user is selecting the point. If the zoom tool had been previously selected, when the user clicks on the point they want, the map zooms in. If pan has been selected and the user just happens to hold down the mouse for a few milliseconds and moves it while selecting the point, the map pans. I've tried disabling the navigation toolbar as in:
var navToolbar:Navigation;
navToolbar = new Navigation();
navToolbar.map = map;
navToolbar.deactivate();
And then selecting the point as in:
setMapAction(Draw.MAPPOINT, status, drawEnd);
But the navigation tools are still active. How do I turn them off?
Thanks!