I am trying to do a very simple stuff.
I am using drawing toolbar to draw graphics on the map.
As shows in the javascript api example,
I initiate a draw toolbar
var drawToolbar = new esri.toolbars.Draw(map);
Then onDrawEnd of the drawToolbar, I add graphics to the map.
First time it adds successfully.
Second time it adds successfully if I don't click on top of the previously added graphic.
if I happen to start from a point, that is on top of the previously added graphic, I get a failed error in visual studio.
But this behaviour is only in IE, not in chrome. In chrome, it works fine.
If I don't click on top of the graphic, it works fine. Already tried with map.graphics onClick event handler, but that also doesn't help it.
But If I run the esri javascript api draw toolbar sample in ie, it works fine. What could I be possibly missing?
Thanks,
Banchana