Hi,

After some investigation, I have realised that p.mapper now uses
writeTocDTree function and I have modified the line:

if (($legLayer->type < 3 && $skipLegend < 1) || $numClasses > 1) { 

to

if (($legLayer->type < 3 && $skipLegend < 1) || ($numClasses > 1 &&
$skipLegend < 2)) {

so now if the layer has more than one class but SKIP_LEGEND is 2, then
it doesn't display the legends

I don't know if this is right change but it works for me for now

regards, dejan

Reply via email to