On 20/05/2011 11:01, Niccolo Rigacci wrote: > Hi to all, > > is it possibile to define a custom legend icon for a WMS layer? > > Ideally I wish to display a list of colored rectangles with a > text label each (the layer has about 6 color classes). > > The WMS server does not provide the GetLegendGraphic capability, > so the icons should be hand-crafted and static. >
you can create class entries in the map as usual and use the KEYIMAGE tag pointing to the icon image files (should be the path "images/legend/..."). armin ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users