Dejan, the problem should just appear in the development versions 1 and 2. The release 1.0.8 should not have this problem. I guess the problem also appears in pm 1.9.4. I attached a zip file with the file initmap.php one has to substitute for newer versions. Additionally, modify in init.php line 7
$initMap = new Init_map($map, $mapfile, $ini, $gLanguage); to $initMap = new Init_map($map, $mapFile, $ini, $gLanguage); (it was just the uppercase F in '$mapFile') Another reason why it might not work (also in older versions) is that the user running the web server has not the rights to overwrite existing icon files. I will also update the dl directory for the development snapshots in the next time. Armin Gambin Dejan wrote: > Hi, > > Armin, is there a way to solve this "legend icons" problem without > having to empty the /images/legend folder because I need to do this very > often :-)) > > dejan > > -------------- next part -------------- A non-text attachment was scrubbed... Name: incphp.zip Type: application/x-zip-compressed Size: 5592 bytes Desc: not available Url : http://www.faunalia.com/pipermail/pmapper-users/attachments/20051124/2a57cfd9/incphp.bin From [EMAIL PROTECTED] Fri Nov 25 15:58:29 2005 From: [EMAIL PROTECTED] (Gambin Dejan) Date: Fri Nov 25 15:59:08 2005 Subject: [Pmapper-users] Language handling Message-ID: <[EMAIL PROTECTED]> Hi, I have a few questions regarding the language handling in pmapper version 1. Can you define the default language in config.ini? So I don't have to put in in the URL....I can do it of course but since we don't have cvs or something like this it is better that you do it... 2. Is there a way to use the ENCODING parameter for showing the result of the query...for example I have a layer that has labels in Windows-1250 and I have defined ENCODING WINDOWS-1250 in mapfile. But I still have to use iconv after getting the query result in info.phtml to convert from Windows 1250 to ISO-8859-2 (this is the language encoding I am using on site). Is there maybe antoher way we can set this? I will help in developing the language handling because this is something that bothers me all the time 3. I think my characters are not shown correctly after setting ISO-88859-2 in config.ini...maybe I still have to define this in frameview.phtml? regards, dejan
