there are some tests in https://github.com/mapserver/msautotest/blob/master/wxs/wms_legend.map
On 4 December 2014 at 10:27, Luca Manganelli <[email protected]> wrote: > On Thu, Dec 4, 2014 at 10:18 AM, thomas bonfort > <[email protected]> wrote: >> Luca, >> RFC101 only treats image legends, it is not implemented for HTML ones. > > That RFC101 states: > > * mode=maplegend and mode=maplegendicon are added to the traditional > mapserver cgi. The mapserverObj struct gets an added map_hittest > member that is used by the legend templating code to produce content > dependant html legends. > > I can invoke Mapserver CGI with these parameters, and if I don't pass > the map extent, the legend is empty (that's right behaviour). I am > searching the name of that parameter so I could do that... > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
