[Chameleon] current, actual legend
bartvde at xs4all.nl
bartvde at xs4all.nl
Tue Nov 9 05:35:41 EST 2004
Hi Markus,
if I understand your problem correctly (you want to show only the visible
layers in your legend template), there was a new keyword (layer_visible)
added to the legend template processor of mapscript which would enable you
to do this.
See the following bug report for more info (648):
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=648
Best regards,
Bart
> Hi List
>
> How is it possible to have a actual legend and not to change a widget?
> I would only show the layers, there are also visible in the map.
>
> My current solution is not very good for an update:
> I have changed LegendTemplate.widget.php:
> In the function ParseUrl (line 346) I have made following changes:
> /* if (!isset($this->maParams["EMBEDDED"]) ||
> (isset($this->maParams["EMBEDDED"]) &&
> strcasecmp(trim($this->maParams["EMBEDDED"]), "TRUE") ==
> 0))
> */
> if (false)
>
> Now I receive always an actual legend, and the layers rest in the map.
> I am using a template like
> ...
> [leg_layer_html order=ascending opt_flag=0]
> ...
>
> If someone have a solution to solve this problem I will take it, else I
> have
> to send a wish to the developers.
>
> Thanks
>
> Markus Schnider
> Sourcepole AG
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
More information about the Chameleon
mailing list