Hi Salvatore, in incphp/map.php al line 721 try to replace
$iniClr0 = $iniClrList[0]; $iniClr1 = $iniClrList[1]; $iniClr2 = $iniClrList[2]; with: switch ($relayer){ case "layer1_name_in_map_file": $iniClr0 = red_rgb_n_color_for_layer1; $iniClr1 = green_rgb_n_color_for_layer1; $iniClr2 = blue_rgb_n_color_for_layer1; break; case "layer2_name_in_map_file": $iniClr0 = red_rgb_n_color_for_layer2; $iniClr1 = green_rgb_n_color_for_layer2; $iniClr2 = blue_rgb_n_color_for_layer2; break; default: $iniClr0 = $iniClrList[0]; $iniClr1 = $iniClrList[1]; $iniClr2 = $iniClrList[2]; } so with this layer1 it'll be painted in selection with first combination the layer2 whit the second and other layers with the default color selection declared in config.ini try bye W Salvator*eL*arosa ha scritto: > hi list, > i need to change the color at the layer selected, it is possible? > > for example: > layer1 > layer2 > > for layer1 the color selection will be red > for layer1 the color selection will be green > > I have tried to edit map.php but without success.......... > > know somebody it? > > Thanks > -- Please no .doc, .xls, .ppt, .dwg: https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats Walter Lorenzetti email+jabber: [EMAIL PROTECTED] www.faunalia.it Cell: (+39) 347-6597931 Tel+Fax: (+39) 0587-213742 Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users