[maplab-users] Solutions for long legends?

Paul Spencer pgs at magma.ca
Fri Apr 1 08:37:34 EST 2005


the way I normally deal with this is to put the legend into a <div> 
element that is of a fixed size and has scrollbars:

<div id="legend" 
<!-- legend here -->



Spencer Cox wrote:
> I am new to maplab, and am wondering if there are any good solutions out
> there for dealing with a long legend (many layers).  I am presently using a
> modified html template to create my legend which displays groups, layers,
> and classes.  As a result of having many layers in my map, this legend
> extends far down the page, and to select or view the lower layers, a user
> would have to scroll down to the point where the map itself isn't visible
> anymore.  Is there a way to have the legend render in a seperate frame so
> that you could scroll through the legend without scrolling down the page?
> Any other directions or ideas?
> Thanks a lot for any advise!
> Spencer Cox - GIS Specialist
> Tesera Systems Inc.
> Tel: (403) 932-0440
> Mailing Address: Box 1078, Cochrane AB, T4C 1B1
> Street Address: 126A River Avenue, Cochrane AB T4C 2C2
> Web: www.tesera.com
> _______________________________________________
> Maplab-users mailing list
> Maplab-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users

More information about the Maplab-users mailing list