See, you have a rest and then just take out the _canvas and voila!
sorry, just thought to test it. works here:
http://visualisationmagazine.com/mapcenter.htm will try remember to leave it
up.
use:
<span onclick="map.setCenter(new
google.maps.LatLng(53.581092,-1.483154));map.setZoom(13);"
style="cursor: pointer;">Title</span>
...and make sure its:
var map = null;
function initialize() {
var myOptions = {
zoom: 12,
center: new google.maps.LatLng(37.020098,-92.390047),
mapTypeId: google.maps.MapTypeId.ROADMAP
}
map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
}
cheers.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/PeQ-Lnn7mDgJ.
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.