On May 29, 8:20 pm, Marcelo <[email protected]> wrote:
> DIV elements on the Android browser have also mousedown and mouseup,
> but they seem fire together.
>
I was looking into the same thing on the iPhone, and the official
Apple Documentation on touch events says that the mouse events are
emulated, arriving as a batch of events some time after the actual
touch (it seems about a quarter of a second to me).

"If the user taps a clickable element, events arrive in this order:
mouseover, mousemove, mousedown, mouseup, and click."

http://developer.apple.com/safari/library/documentation/appleapplications/reference/safariwebcontent/HandlingEvents/HandlingEvents.html

I can't find the official Android documentation on javascript touch
events, but I've found the following blogs and posts:

Javascript Touch and Gesture Events on iPhone and Android, includes
compatibility table:
http://backtothecode.blogspot.com/2009/10/javascript-touch-and-gesture-events.html

iPhone Touch Events in Javascript:
http://rossboucher.com/2008/08/19/iphone-touch-events-in-javascript/

Android Developers: Trying to get Javascript on Android
http://groups.google.com/group/android-developers/browse_thread/thread/21dbb0c4396445f2

Peter-Paul Koch's presentation on Touch Events
http://www.quirksmode.org/presentations/dibi/touchevents.pdf

...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to