mouseposition coordinate

764 views
Skip to first unread message

teddy

unread,
Jan 27, 2011, 6:25:40 PM1/27/11
to google-map...@googlegroups.com
Hi,
In the new api, how do you display the coordinate at the mouse position.  It is pretty simple to do in openlayers and can someone please share the code if they know how to do it.   I want the coordinates displayed on the bottom of the map.   thanks.

Paulo Fernandes

unread,
Jan 27, 2011, 6:40:07 PM1/27/11
to google-map...@googlegroups.com
http://www.pjtecnologia.com.br/maps/exemplos/mouse-move-lat-lng.html

Adjust the CSS and be happy =)
On Thu, Jan 27, 2011 at 9:25 PM, teddy <tedd...@gmail.com> wrote:
Hi,
In the new api, how do you display the coordinate at the mouse position.  It is pretty simple to do in openlayers and can someone please share the code if they know how to do it.   I want the coordinates displayed on the bottom of the map.   thanks.

--
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 google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.

teddy

unread,
Jan 27, 2011, 7:43:12 PM1/27/11
to google-map...@googlegroups.com
Paulo I am happy!  :)

You are the man.  Thanks.  Later tonight I will try to see if the coordinates will be displayed at the bottom of the map. 
Appreciate the quick response. 
Reply all
Reply to author
Forward
0 new messages