danyim

Converting a normal JS event into an ESRI Map event

Discussion created by danyim on Nov 3, 2010
If you examine the event parameter returned on any plain-Jane Javascript event, you'll see that it has the properties screenX and screenY among many others. However, if you examine the event parameter returned by any of esri.Map's events, there are more properties available, namely screenPoint and mapPoint, which both seem to be esri.geometry.Point objects.

Is there any way that one can convert a Javascript event to an ESRI event?

Outcomes