[OpenLayers-Users] how to make the legend in openlayers?
Alexander Petkov
greenkov at gmail.com
Mon Apr 13 15:34:37 EDT 2009
On Mon, Apr 13, 2009 at 1:12 PM, MeLv1n wAuRaN <melvinnesta at gmail.com> wrote:
> Static as in a raster image? so i have to create an image of my legend and
> then just load it into openlayers using the "div"? now how can i make a div
> and populate it with my legend entries?
Why would you not want to use mapserver to generate your legend entry
for a layer? Basically, it is a standard OGC GetLegendGraphic request,
or just use mapserver in legend mode. Then, if you change your map
styling, the legend graphics will be updated automatically.
Alex
More information about the Users
mailing list