Hi Adrian<br><br>it's a limitation of that plugin. the code simply dont handle correctly layers with multiple legend resolution.<br>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 <font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">legendResolutions</span></font>.<br>
<br>thats all I can without investigating further<br><br>regards<br>Oliver<br><br><br><br><div class="gmail_quote">2010/4/28 Dahinden Adrian <span dir="ltr"><<a href="mailto:a.dahinden@geo-thun.ch">a.dahinden@geo-thun.ch</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="navy" lang="DE-CH">
<div>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hi list</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">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)!</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">How can I avoid this problem? Any ideas?</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks in advance</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Adrian Dahinden</span></font></p>
<p class="MsoNormal"><font face="Frutiger" size="2"><span style="font-size: 11pt;"> </span></font></p>
</div>
</div>
<br>_______________________________________________<br>
Cartoweb-users mailing list<br>
<a href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/cartoweb-users" target="_blank">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
<br></blockquote></div><br>