[Chameleon] Omitting Layer From Map Template Changes Image Colors
jacob.delfos at maunsell.com
Sun Jun 19 19:57:24 EDT 2005
I have experienced a similar problem, though I am not sure whether it is related to the showing/not showing of a layer. In my case, upgrading to php_mapscript_42 (or higher) fixed it, because I only had it happen in php_mapscript_40.
From: chameleon-bounces at lists.maptools.org [mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Bart Wood
Sent: 16 June 2005 10:20
To: chameleon at lists.maptools.org
Subject: [Chameleon] Omitting Layer From Map Template Changes Image Colors
I've created a layer that I don't want appearing in the legend. I've
modified the LAYER in the map file to include a meta-data tag called
"SHOWINLEGEND". Then I've modified the legend template to not
include any layers that have the SHOWINLEGEND tag. When I do this the
style image (a small blue dot) changes color in the map. It goes from
blue to brown when I zoom out. When I zoom in the dot goes back to
blue. Any ideas out there what is happening?
I've modified the layers definition to look like this...
COLOR 0 204 0
And the legend template look like this...
[if name=SHOWINLEGEND oper=isnull]
... do all the stuff to show the legend info ...
Chameleon mailing list
Chameleon at lists.maptools.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chameleon