[Community] javascript scalebar

Tim Schaub tim at commenspace.org
Wed Jan 4 07:06:34 EET 2006


Hey all-

I've packaged up a client side scalebar that may be of use to PrimaGIS.
You can try it out at http://mapserver.commenspace.org/tools/scalebar/.

Features:
- styled by CSS
- simple configuration with javascript
- tries very hard to display nice numbers
- works for a wide range of scales

I thought I could put together a demo in PrimaGIS, but I couldn't find
any sign of minx & maxx (for scale calc) or map scale client side.  I'm
happy to work on this if you think the scalebar could be of use.

Also, I've tested on Firefox, IE, Opera, and partially on Safari - I'm
interested to hear of any browser funkiness.

Happy 2006,
Tim


http://www.commenspace.org



More information about the Community mailing list