[OSM-talk] PS to last message - Applet size

SteveC steve at asklater.com
Wed Jan 17 10:00:53 GMT 2007


* @ 16/01/07 02:13:31 PM marcus.bauer at gmail.com wrote:
> On Tue, 2007-01-16 at 11:58 +0000, Nick Hill wrote:
> > 
> > SteveC wrote:
> > > I was working in it, fixed this RSS thing, made the applet bigger.
> > 
> > I like the applet enlargement. Works well for my screen resolution. I was 
> > thinking that those with lower resolutions might have trouble, but then, all the 
> > controls are in the top left, so shouldn't be an issue.
> 
> The applet size is now being determined by the applet params (from the
> html) - it had been hardcoded in the applet source before.

Not entirely - I had to hardcode it in as it wasn't picking up the
parameters. It didn't work from the command line either. Feel free to
debug why :)

> Thus if now somebody writes a few lines of javascript, the applet could
> automatically be started with the maximum available screen space.

I tried doing this for the slippy map without success - if someone
figures this out please send a patch :)

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/




More information about the talk mailing list