Anton
Anton

Reputation: 2585

Google map API 3 . Container div does not fill fully

I have next problem: There is jquery accordion control. One of tab have div which contains google map. And map does not fill all div. If replace map div out of accordion all work coorectly. How i can fill all div ? Thanks.

Like this http://designer4you.ru/pic.jpg

Upvotes: 2

Views: 4012

Answers (2)

alexeybondarenko
alexeybondarenko

Reputation: 78

google.maps.event.addListener(map, 'idle', function() {
    google.maps.event.trigger(map, "resize");
});

Upvotes: 0

MvanGeest
MvanGeest

Reputation: 9661

See the discussion here: http://www.mail-archive.com/[email protected]/msg59946.html

Upvotes: 3

Related Questions