sg

Perşembe, Aralık 22, 2005

Re: How to get the map co-ordinates on mousemove event?


Wasn't it jjrdk who wrote:
>
>Your problem is that the map doesn't have a mousemove event, nor does
>it have a mouseover event. So continuously grabbing the mouse position
>is not possible.
>
>Maybe some brilliant person can help you transform the pixel location
>to a set of coordinates.

I can't see why binding a mousemove or mouseover event handler to the
tile layer of the map doesn't work, but it doesn't.

GEvent.bind(map.dragObject, "mousemove", map, yourEventHandler);

--
The Blackpool Community Church Javascript Team
http://www.econym.demon.co.uk/googlemaps/

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık