Hi,

I've also faced a similar problem as yours when using it in a
tabPanel.
My solution is try not to put the map in that container. I use
VerticalPanel instead.

On Oct 24, 10:28 am, Jim Alateras <[EMAIL PROTECTED]> wrote:
> Eric,
>
> Tried using mapWidget.checkResize but unfortunately i still need to
> resize the actual window to get to render completely.
>
> On Oct 24, 1:02 pm, "Eric Ayers" <[EMAIL PROTECTED]> wrote:
>
> > Stupid maps trick #183: try mapWidget.checkResize() after filling out your
> > map.  Sometimes, changing the type of panel the map is contained in also
> > makes a difference (I usually use a VerticalPanel)
>
> > On Thu, Oct 23, 2008 at 9:33 PM, Jim Alateras <[EMAIL PROTECTED]> wrote:
>
> > > I am only getting a part of the map widget rendering when I run my gwt
> > > application. This happens both in hosted and non-hosted mode. I need
> > > to resize the window before i get a complete map.
>
> > > Here is my code
>
> > >                mapWidget = new MapWidget(initialPoint, zoomLevel);
> > >                mapWidget.setSize(width, height);
> > >                initWidget(mapWidget);
> > >                mapWidget.addControl(new SmallMapControl());
> > >                mapWidget.addControl(new MapTypeControl());
>
> > > I am using GWT 1.5.2 on a mac
>
> > --
> > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to