Not like that! :-)
Use something like
var center = map.getCenter();
google.maps.event.trigger(map, 'resize');
map.setCenter(center);
(once the map's container is visible).
On Mar 9, 1:51 pm, padhu priya <[email protected]> wrote:
> Hi Chad,
>
> I have used that
> map = new
> google.maps.Map(document.getElementById("map_canvas"),mapOptions);
> google.maps.event.trigger(map, 'resize');
> but same problem..
> I cant get the full map...:-(
--
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.