[Chameleon] Omitting Layer From Map Template Changes Image Colors
Jacob Delfos
jacob.delfos at maunsell.com
Sun Jun 19 19:57:24 EDT 2005
Bart,
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.
regards,
Jacob
-----Original Message-----
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
Hello Everyone,
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...
LAYER
NAME "Survey"
STATUS ON
TYPE POINT
LABELCACHE FALSE
METADATA
SHOWINLEGEND "nope"
END
CLASS
NAME "OffshrSrv"
MAXSCALE 1999999
STYLE
COLOR 0 204 0
SYMBOL "imgSurveyQueried.gif"
MINSIZE 10
END
END
END
And the legend template look like this...
[if name=SHOWINLEGEND oper=isnull]
... do all the stuff to show the legend info ...
[/if]
_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20050620/c77567d7/attachment.html
More information about the Chameleon
mailing list