[Chameleon] Layers always on

Ken Sanderson ken at rockies.ca
Wed Nov 10 13:43:02 EST 2004

I would put a metadata object on the layers you want hidden, then just
to a test on if that metadata object is set (isset) and if so don't
write them to the legend.


-----Original Message-----
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Mark M
Sent: November 10, 2004 10:39 AM
To: Chameleon List; WIX Mailing List
Subject: [Chameleon] Layers always on


How do I keep a layer always showing on the map but never in the legend?

I've used the process at
to filter layers. This works for the first image but when I zoom in,
only layers that are checked are drawn (logically enough). So, layers
that are hidden from the legend are never seen again. Not good for me.

I want users to be able to turn on and off some layers only. The other
layers are always on and are controlled by MINSCALE and MAXSCALE in the
map file. Anyone know how to do this?


The coolest e-mail address on the web and it's FREE!  Sign-up today for
Beer Mail @ beer.com.

Chameleon mailing list
Chameleon at lists.maptools.org

More information about the Chameleon mailing list