From: Philipp V. <phi...@go...> - 2010-02-18 10:57:07
|
Greetings, I'm not sure if this is the right answer to your problem, but when I was working with resizing the map using relative sizes the map had to be in a DockPanel. Something like this: DockPanel dp = new DockPanel(); dp.setHeight("100%"); dp.setWidth("100%"); dp.add(map.getMapWidget(), DockPanel.CENTER); addItem(dp); Maybe this helped!? Cheers! 2010/2/18 Andrew Hughes <ahh...@gm...> > Hi AGAIN, > > I've got a 100%x100% MapWidget inside a SplitPanel. Since the split panel > is resizeable (via a mouse drag), how can gwt-openlayers keep the map > focused on the centroid on resize. At the moment it just maintains the > minX/minY in the upper left top cnr. > > Thanks *AGAIN*! :) > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |