[Chameleon] current, actual legend
Paul Spencer
pspencer at dmsolutions.ca
Tue Nov 9 08:38:45 EST 2004
Markus,
you should be able to achieve what you want without modification to the
widget. But I am not sure I understand what you need to do. Can you
send more details about what you want the legend to do?
Paul
Schnider Markus wrote:
> 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
>
--
Cheers,
Paul
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the Chameleon
mailing list