1

As I said in title. I dont know why my google map shows only 50% of the container div.

You can see it here: http://sudarquitectura.com.ar/

please click in the third button which says: "UBICACION". It is a single and simple html page, so you can see the code there.

It is supossed that the info window should be at the center of the container div but it appears always at the left edge.

Thanks a lot!

MPelletier
  • 16,256
  • 15
  • 86
  • 137
Ivano
  • 72
  • 6

1 Answers1

1

First specify a width and a height for you map container div if you don't already in your CSS. Then try google.maps.event.trigger(map, 'resize') which is taken from here from the events section.

Also check these stack overflow questions

  1. Google Maps API - Resizing generates blank white space
  2. How do I resize a Google Map with JavaScript after it has loaded?
  3. Google Map shows only partially
Community
  • 1
  • 1
Argiropoulos Stavros
  • 9,436
  • 11
  • 61
  • 79
  • Thanks for your answer!!! I could fix it following the directions of the third link you sent. – Ivano Dec 28 '10 at 12:11
  • You are welcome.If you find a useful answer please vote up for it and if you think that your question has been answered please check the right answer tick. – Argiropoulos Stavros Dec 28 '10 at 12:54