From: dan t. <dan...@go...> - 2010-03-01 21:53:06
|
If anyone's interested, I've put a couple of screenshots of the not-quite-fullscreen map here: http://dantwining.com/2010/03/01/gwt-openlayers-and-full-screen-maps/ On 1 March 2010 21:24, dan twining <dan...@go...> wrote: > You can give "100%" as the width/height args. It works, but there's a bug > in the way that the map initially renders. Or, at least, there's a bug when > I try. You can check out my attempt here: > > https://code.google.com/p/dantwining/source/browse/#svn/trunk/FullScreenMap > > > On 1 March 2010 12:42, David R Robison <drr...@op...>wrote: > >> I have attached the MapWidget to the center section of a >> DockLayoutPanel. The MapWidget takes two string arguments to define its >> height and width. What I would like to do is to automatically have the >> map expand to fill the available space in its section of the >> DockLayoutPanel. This way if the browser is resized the map will >> similarly resize. I'm sure this is not hard to do but I am new to >> gwt-openlayers. Any thoughts on how to do this? Thanks, David >> >> -- >> >> David R Robison >> Open Roads Consulting, Inc. >> 103 Watson Road, Chesapeake, VA 23320 >> phone: (757) 546-3401 >> e-mail: drr...@op... >> web: http://openroadsconsulting.com >> blog: http://therobe.blogspot.com >> book: >> http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526 >> >> This e-mail communication (including any attachments) may contain >> confidential and/or privileged material intended solely for the individual >> or entity to which it is addressed. If you are not the intended recipient, >> you should immediately stop reading this message and delete it from all >> computers that it resides on. Any unauthorized reading, distribution, >> copying or other use of this communication (or its attachments) is strictly >> prohibited. If you have received this communication in error, please notify >> us immediately. >> >> >> >> >> ------------------------------------------------------------------------------ >> 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 >> > > |