From: Philipp V. <ve...@go...> - 2010-06-21 11:37:37
|
Hi, for me it worked by putting the mapwidget in a dockpanel: DockPanel dp = new DockPanel(); dp.setHeight("100%"); dp.setWidth("100%"); dp.add(OLmap.getMapWidget(), DockPanel.CENTER); window.addItem(dp); Cheers, Philipp 2010/6/21 Lukas Johansson <luk...@de...> > Haven’t tried with smartGWT but I guess that the map doesn’t get sized. > > Check with firebug (or any other inspect tool) what size the div containing > the map has. If it’s 0x0 then try to set a larger size in firebug. if > you’re lucky the map shows and you can start trying different strategies to > get it sized. > > /Lukas > > > > *Från:* Jon Britton [mailto:jon...@go...] > *Skickat:* den 21 juni 2010 13:17 > *Till:* gwt-openlayers-users > *Ämne:* [Gwt-openlayers-users] GWT-OpenLayers and SmartGWT > > > > Hi, > > > > I'm having trouble getting OpenLayers to work with SmartGWT. I've got a > Smart GWT HLayout and I'm trying to add a MapWidget to it, but the map > doesn't appear at all and I get no errors. > > > > Has anybody else been successful in using GWT-OpenLayers and SmartGWT > together? > > > > Thanks, > > > > Jon > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |