AnsweredAssumed Answered

why aren't the Graphic object able to add listener on click event

Question asked by Aaronsi on Jul 9, 2014
Latest reply on Jul 10, 2014 by odoe

I wonder why the Graphic object aren't able to add listener on click event, then we have to add listener to GraphicsLayer object on click event? Any good reason for that?  The result is if I want to add a graphic on map and add a click event on it, I should add that graphic on a graphicsLayer. Then add click event on graphicsLayer. I think this way is completely inconvenient? Also if there are more then 1000 graphic that I have to add on the map, the map become really slowly! Any help?

Outcomes