Hi everyone,
when I load my form in tabs template and the tab with the googlemaps plugin is closed , the actual map stays in top left corner and doesnt fill out the canvas, even when I move it. (see screenshot)
When I activate firebug it fills the canvas as it should automaticly.
I think a solution would be to trigger the resize again with
google.maps.event.trigger(map, "resize");
when I click on the tab. But it doesnt work (in console says "map is not defined")
Any hint/solution on this?
Thanks so much!
when I load my form in tabs template and the tab with the googlemaps plugin is closed , the actual map stays in top left corner and doesnt fill out the canvas, even when I move it. (see screenshot)
When I activate firebug it fills the canvas as it should automaticly.
I think a solution would be to trigger the resize again with
google.maps.event.trigger(map, "resize");
when I click on the tab. But it doesnt work (in console says "map is not defined")
Any hint/solution on this?
Thanks so much!