Thursday, April 21, 2011

[Google Maps API v2] Re: Map not showing correctly

On Apr 21, 11:11 am, TMXDesign <pilo...@gmail.com> wrote:
> Hi,
>
> I can't seem to figure out why the map isn't displaying properly here:
http://lbl.tmxdesign.co.uk/property.php?id=19

> Has anyone had this problem before or know how to fix it?

You mean the "zero size" div problem encountered when displaying a
previously hidden map?

either:
1. call map.checkResize() after the map is displayed
or
2. use the size option in the GMap2 constructor (for fixed size divs).

more information on both options above can be found in the
documentation or by searching this group ("top left corner" or "zero
size div" are two good candidate searches)

-- Larry


>
> Regards,
> Rhys

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate