On Dec 27, 10:43 am, shenyiwei19881007 <[email protected]>
wrote:
> I want to use geolocation to locate the visitor's position . But I do
> not know how to write it use javascript, I establish a control button
> "where am I" in the map, and add a EventDomListener to relize the
> function when the user click the button "where am I", the
> map can show the user's location. Can some body tell me a answer,
> thanks very much.

http://www.google.co.uk/search?q=geolocation+javascript

The first result seems to do what you want (except it's a Version 3
map): http://www.merkwelt.com/people/stan/geo_js/sample_with_map.html

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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-api?hl=en.

Reply via email to