Yes - I was just testing it out to see if it might work in there. It was not
there before.

Ideally it needs to get called when someone clicks on the tab, but DTABS
doesn't offer that. I can add some javascript when some clicks on a tab, but
have yet to figure out how to display a tab from within that javascript...
life is just a series of hoops :-)

Dave

On Sun, Nov 8, 2009 at 11:06 AM, Andrew Leach <[email protected]
> wrote:

> On Nov 8, 6:29 pm, CaboDave <[email protected]> wrote:
> >
> > var map = new GMap2(document.getElementById("map_canvas"),{size: new
> > GSize(599,487), mapTypes:[G_NORMAL_MAP,G_SATELLITE_MAP]});
> > does that not specify a size properly?
>
> Yes, it does, but you also have map.checkResize() in your initialize
> function -- when the API does that, it asks the browser what size the
> map is at that point. During initialisation, the map will have zero
> size, and your {size} option gets reset.
>
> I recommend removing that checkResize() line. If you want it in
> somewhere, it needs to go wherever the tabs do something (is that
> dtabs.js?) in order that it's done when the map is unhidden.
>
> Andrew
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Maps API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>
>

--

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


Reply via email to