[ka-Map-users] JavaScript scalebar

Tim Schaub tim at commenspace.org
Wed Jan 4 17:15:13 EST 2006


> From: Stephen Woodbridge
> Sent: Wednesday, January 04, 2006 11:45 AM
> 
> There is one additional style that I would LOVE to see if you 
> want to tweak it a little more and that is a Dual 
> English/Metric scale bar.

I just knew someone was going to mention that.  I've always thought
those dual scalebars were just to remind people that miles were bigger
than kilometers, but I guess I can see some utility (especially for
border dwellers).

I'll add the dualie option in early next week.

Tim


> >  
> > I've packaged up a client side scalebar that I think will be useful 
> > for ka-map.  You can play with configuring it here:
> > http://mapserver.commenspace.org/tools/scalebar/
> >  
> > Features:
> > - styled by CSS
> > - simple configuration with javascript
> > - tries very hard to display nice looking numbers
> > - works for a wide range of scales
> > - English & Metric
> >  
> > I had planned on tying it in to ka-map next week, but I heard 
> > rumblings of a release, so I thought I'd see if anybody 
> else wanted to 
> > take a swing at it.  I'm happy to do any tweaks that would make it 
> > easier.  I think the page above should be enough to figure 
> it out, but 
> > if any documentation or example usage is needed, I can put 
> something together.
> >  
> > This has been tested in Firefox, IE, Netscape, Opera, and 
> somewhat on 
> > Safari (through iCapture).  One known limitation is that 
> Opera users 
> > always get the default style (no support for Document.StyleSheets 
> > property).  I'm interested to get feedback from any other browsers.
> >  
> > If you find it useful, let me know if there is anything I can do to 
> > get it in the next release.
> >  
> > Tim Schaub
> >  
> > CommEn Space <http://www.commenspace.org>
> > 
> > _______________________________________________
> > ka-Map-users mailing list
> > ka-Map-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/ka-map-users
> > 
> 
> 



More information about the ka-Map-users mailing list