Could you try with this file please: http://svn.pmapper.net/trac/browser/trunk/pmapper/incphp/init/initmap.php?format=txt (save and replace actual pmapper/incphp/init/initmap.php file)
Thomas Le 15/01/2013 14:29, Thomas RAFFIN a écrit : > Hi, > > The LEGEND part of the mapfile could be used to embed legend in the > drawing map. Pmapper doesn't use it and redraw each icon in the > pmapper/image/legend folder. > > Thomas > > Le 15/01/2013 14:24, Chris forum a écrit : >> I probably can not help you anymore... >> Please triple check the images are in the images/legend directory, with >> www-data rights. >> >> Firebug will still show you the path to them even if they are not existing. >> I just tried to delete the legend icons of the demo layers (countries, >> rivers, cities, ...). I had then to modify the mapfile so that pmapper >> regenerates the legend icons, otherwise they don't show up in the legend >> (obvious) even though firebug displays their path when you inspect the >> legend. >> >> You are right, the LEGEND part of the mapfile doesn't seem to be used. >> There is one in the pmapper _demo.map though, don't really know what for... >> >> >> >> >> On Tue, Jan 15, 2013 at 12:06 PM, Dejan Gambin <dejan.gam...@coin.hr> wrote: >> >>> Hi Chris >>> >>> Images are generated in images/legend folder. The icons are actually there >>> so Firebug reports ok, for example "background-image: >>> url(images/legend/key_name.png". LEGEND part is empty, that is how it was >>> in previous version. >>> >>> I just noticed something else. I tried default demo and saw that legend >>> icons for point features are drawn ok, but for polygons and lines not. Now >>> I am confused even more :-) >>> >>> dejan >>> >>> On 15. sij. 2013., at 11:24, Chris forum wrote: >>> >>> Hi Dejan, >>> >>> Are the images generated into images/legend folder? >>> What does indicate Firebug if you try inspecting the white/empty icons? >>> What do you have for a LEGEND part in your mapfile? >>> >>> Chris >>> >>> On Tue, Jan 15, 2013 at 9:32 AM, Dejan Gambin <dejan.gam...@coin.hr>wrote: >>> >>>> Hi, >>>> >>>> I have just upgraded my p.mapper 3.2 to 4.3 on my Ubuntu box. I have a >>>> problem with legend icon creation. The icons are created but they are >>>> white/empty. >>>> >>>> Steps I tried: >>>> >>>> - I made sure images/legend folder is owned by www-data (chown -R >>>> www-data:www-data /images/legend, even did this on whole pmapper folder) >>>> - I have created a test php script for legend icon creation >>>> (createLegendIcon). It works ok, even by putting the legend icons into the >>>> same folder as above >>>> - I checked error logs. Everything seems to be fine >>>> >>>> Any clue? Am I missing something? >>>> >>>> Thx very much >>>> >>>> regards, dejan >>>> >>>> ------------------------------------------------------------------------------ >>>> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS >>>> and more. Get SQL Server skills now (including 2012) with LearnDevNow - >>>> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. >>>> SALE $99.99 this month only - learn more at: >>>> http://p.sf.net/sfu/learnmore_122512 >>>> _______________________________________________ >>>> pmapper-users mailing list >>>> pmapper-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >>>> >>> >> ------------------------------------------------------------------------------ >> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS >> and more. Get SQL Server skills now (including 2012) with LearnDevNow - >> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. >> SALE $99.99 this month only - learn more at: >> http://p.sf.net/sfu/learnmore_122512 >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> >> > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS > and more. Get SQL Server skills now (including 2012) with LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users