Resize Googlemap after load

Status
Not open for further replies.

tagger

Member
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!
 

Attachments

  • maperrort.JPG
    maperrort.JPG
    22.3 KB · Views: 230
Ok, got it kinda solved by puttin "google.maps.event.trigger(this.map, "resize");" in element javascript on mouseover
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top