[Cartoweb-users] LayerReorder Plugin

Oliver Christen oliver.christen at camptocamp.com
Wed Apr 28 03:00:46 EST 2010


Hi Adrian

it's a limitation of that plugin. the code simply dont handle correctly
layers with multiple legend resolution.
a quick look at the code tell me the problem is in function getInit in
ServerLayerReorder.php, there is no filtering to remove the extra layers
generated in the mapfile to display the multiple legendResolutions.

thats all I can without investigating further

regards
Oliver



2010/4/28 Dahinden Adrian <a.dahinden at geo-thun.ch>

>  Hi list
>
>
>
> I’ve found out a strange issue. As soon as I put the „legendResolutions“
> Parameter in layers.ini (server side) for example „legendResolutions = 72,
> 150, 300“, there is bug in the list of layers in the layerReorder tab. Each
> layer which appears in the layerlist of the layerReorder plugin and which
> has a legendicon, appears several times (number of legendicon x number of
> dpi options)!
>
>
>
> How can I avoid this problem? Any ideas?
>
>
>
>
>
> Thanks in advance
>
>
>
> Adrian Dahinden
>
>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20100428/72aaf0e0/attachment.htm 


More information about the Cartoweb-users mailing list