Touch events really aren't the same as mousemove. As far as I know,
there is no equivalent touch event as a mousemove.

I believe you would have to attach to other events. Common culprits
would be drag, dragstart, dragend, click, dblclick and rightclick.
Most of the touch events (at least for the map itself) should map to
one of those events depending on the type of action.

If you really want touch events, you might have to use addDomListener
and attach to the map div. Although, if I recall correctly, the API
prevents map events from propagating up the DOM.

Chad Killingsworth

On Oct 28, 1:55 am, seikoudoku2000 <[email protected]> wrote:
> Hello, my name is Yosuke Tomita(@seikoudoku2000) in Japan.
>
> I have a question about touchmove event on iPhone browser.
> I can get latitude and longitude in mousemove event on PC browser, but
> I can't find a way how to do it in touchmove event on iPhone browser.
>
> (like this. I want to do the same thing in touchmove event !!)
> ---
> google.maps.event.addListener(map, "mousemove", moveFunc);
> function moveFunc(event){
>         alert(event.latLng.lat());
>         alert(event.latLng.lng());}
>
> ---
>
> Any ideas how to do that?
>
> Thanks in advance.

-- 
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