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 USA http://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 -~----------~----~----~----~------~----~------~--~---