Hi Davie,

Thanks for the response..normally I would respond in the group but the post was 
rejected as it's not the correct group.

Can you advise where in the code your snippet needs to go?  I've tried adding 
it to the bottom of the javascript code but once I drag the marker nothing 
changes.

Thanks
Geoff



On 28/02/2012, at 10:49, davie <daviestrac...@yahoo.co.uk> wrote:

> Hi
> Try
> 
> //Update current center info.
> lastCenter=map.getCenter();
> 
> new google.maps.event.trigger(map,"resize");
> 
> // then add the event listener
> google.maps.event.addListener(map, 'resize', function(){
> map.setCenter(lastCenter);
> });
> 
> Regards Davie
> 
> -- 
> 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 google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
> 

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to