Did you try setting up a proper event handler in the head of your
document then instead of using [frowned upon] inline code?


google.maps.event.addListener(document.getElementById('your_anchor_id'),
'click', function() {
    map.setCenter(new google.maps.LatLng(37.020098,-92.373047));
    map.setZoom(4);
});

...

<span id="your_anchor_id">Go to: 37.020098,-92.373047</span>

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