Hi, check out the following thread:
http://www.geoext.org/pipermail/dev/2009-April/000073.html Best regards, Bart > htks for reply > > GetLegendGraphic gives the legend of a WMS, the one specified in the SLD > of > the WMS layer, or the one in the SLD given in the url paremeter... > I would like a legend for WFS, which have no SLD, but only style and > styleMap definition > > ----- Original Message ----- > From: "Alexander Petkov" <[email protected]> > To: "floflo" <[email protected]> > Cc: <[email protected]> > Sent: Tuesday, April 07, 2009 12:12 PM > Subject: Re: [OpenLayers-Users] WFS - legend > > >> On 4/6/09, floflo <[email protected]> wrote: >>> >>> Hi, >>> >>> can we get a legend from the symbol we use for our features ? >>> for exemple, proportionnal symbol, StyleMap(defaut, select) with a >>> varying radius .. >>> can we get the image of the symbol in itself (triangle or circle with >>> the right color and size).. for exemple ? >>> >>> thks >> >> Assuming that you are using any WMS-compliant backend (for example, >> mapserver or geoserver), then yes. >> >> More specifically, "SERVICE=WMS&REQUEST=GetLegendGraphic" with the >> rest of the required parameters is what you are looking for. >> >> Alex > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
