Hi All,

I need to show Google map on page load and bring a certain GLatLng in
centre with smooth zoom. e.g. On page load I show US State MA and
smooth zoom to a city in MA, so that it appears that the city is
appearing with animation.

I tried this old discussion but not working for me:
http://groups.google.com/group/google-maps-api/browse_thread/thread/ddb85f3fd72e4932/008b5f8635994dc4?q=%22Smooth+Zoom%22&lnk=sbp#008b5f8635994dc

It uses GMap and it talks about smoothzoom on a mouse event. Whereas
I'm using GMap2 and I want smoothzoom on page load.

I also tried doing like this, but not getting good effect:

map.enableContinuousZoom();
var t = setTimeout("zoomIn()", 300);


function zoomIn() {

map.zoomIn(new GLatLng(48.6587222 , -67.4680833), true, true);
map.zoomIn(new GLatLng(48.6587222 , -67.4680833), true, true);
map.zoomIn(new GLatLng(48.6587222 , -67.4680833), true, true);
map.zoomIn(new GLatLng(48.6587222 , -67.4680833), true, true);
}

Please can anyone help.

Thanks & Regards

--

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