Hi, I have an issue in a widget. I found that "onMouseMove" or "onMouseOut" events of a GraphicLayer are not called when a Draw tool is activated with "Draw.EXTENT" or "Draw.RECTANGLE" modes. But, they work with "Draw.POINT" and "Draw.POLYGON" modes.
Sample code;
widget.selectingTool = new esri.toolbars.Draw(widget.map);
dojo.connect(widget.map.graphics, 'onMouseMove', function (evt) {
... bla bla
});
dojo.connect(widget.map.graphics, 'onMouseOut', function (evt) {
... bla bla
});
... bla bla
widget.selectingTool.activate(Draw.RECTANGLE);
Is it a bug?
Thanks in advance.