Determining coordinates of a tap event on an image

Hey Folks,

I know this is more of a general JavaScript question, but I wondered if there's an "Enyo-way" of targeting the user's taps on an image. I want to use the coordinates to mark locations such as in google maps or similar apps.

Regards,
Christoph

Comments

  • The synthetic tap has pageX/pageY properties that let you determine the actual coordinates where the tap occured. You can use that along with the position in page of the image to determine where in a image a tap occured.
Sign In or Register to comment.