hi all, hi Armin

working on pmapper2 () (i hope the last version)
i find a bug on incons legend generation

After a modification on file map as a add a new layer
i didn't find the new icon on the legend

so watching initmap.php i find this at line 277:

$mapfile_mtime = filemtime($this->mapFile);
            $imglogfile_mtime = filemtime($legPath.'createimg.log');
            if ($this->mapfile_mtime > $imglogfile_mtime) {
                $writeNew = 1;
             }

so i ghange it like this:

$mapfile_mtime = filemtime($this->mapfile);
            $imglogfile_mtime = filemtime($legPath.'createimg.log');
            if ($mapfile_mtime > $imglogfile_mtime) {
                $writeNew = 1;
             }

 i found another bug in init.php
the variable $mapFile was written in bad manner
in line 7 :
$initMap = new Init_map($map, $mapfile, $ini, $gLanguage);

instead of

$initMap = new Init_map($map, $mapFile, $ini, $gLanguage);

I hope that this bug fix can you help

Bye
Walter

-- 
Walter Lorenzetti
email+jabber: walter at faunalia.it
www.faunalia.it
Piazza Garibaldi 5
56025 Pontedera (PI)
Italy ? 
Tel: (+39)347-6597931

Reply via email to