The 'circle button' is on maps.google.maps nowadays. Just above the
zoom slider.

To make a button of your own, just keep only the first two lines of
code inside initialize() (the 'map' lines. Create a userLocate()
function and move all the other lines into it.

And in html:

<button onclick="userLocate()">Locate</button>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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