[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.

Ken

-----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


Hi,

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

I've used the process at
http://lists.maptools.org/pipermail/chameleon/2004-October/001526.html
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?

Mark


-- 
_______________________________________________
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
http://lists.maptools.org/mailman/listinfo/chameleon




More information about the Chameleon mailing list