[Cartoweb-users] LayerReorder Plugin

Dahinden Adrian a.dahinden at geo-thun.ch
Wed Apr 28 03:33:04 EST 2010


Hi Oliver

 

Thanks for your fast reply. Do you think it will be possible to put a
filter in this funcion without produce any side effects?

Or would you advise against this plan?

 

greetings

 

Adrian Dahinden

 

  _____  

Von: Oliver Christen [mailto:oliver.christen at camptocamp.com] 
Gesendet: Mittwoch, 28. April 2010 10:01
An: Dahinden Adrian
Cc: cartoweb-users at lists.maptools.org
Betreff: Re: [Cartoweb-users] LayerReorder Plugin

 

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/060c0528/attachment.htm 


More information about the Cartoweb-users mailing list