Hmm...thanks for the reply Klaus, however it didn't work for me when I tried to do exactly the same thing as Yehuda. Using the jQuery $ (document).ready(function(){...}) and setting the map controls within, I still get the large blank rectangle. Am I overlooking something dead simple?
On Mar 28, 1:07 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > skube schrieb: > > > Maybe not exactly the proper place for this question, but perhaps > > someone has had a similar issue, and who knows maybe there is a jQuery > > solution. > > > Basically, I'm trying to integrate Thickbox with Google Maps using the > > GoogleMapAPI by Monte Ohrt. It works fine if I view the (php) page > > directly, however if I view the page through a Thickbox, no page > > marker is set, thus the map does not center, and there is a large grey > > blank rectangle where the address should be. > > > I'm using jQuery and I'm wondering if anyone has had this same > > problem? Is it possible jQuery is conflicting somehow? > > Whenever you try to initialize a Google Map while it is hidden you run > into this problem. Basically you have to initialize the map as soon as > the container that it resides in gets shown. At least this is what I > found when integrating Google Maps into (hidden) tabs. > > If I remember correctly Yehuda already has implemented Google Maps into > Thickboxes. Here it is: > > http://www.nytsweeps.com/openhouse/ > > -- Klaus > > _______________________________________________ > jQuery mailing list > [EMAIL PROTECTED]://jquery.com/discuss/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/