[OpenLayers-Users] how to make the legend in openlayers?

MeLv1n wAuRaN melvinnesta at gmail.com
Mon Apr 13 15:12:51 EDT 2009


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?

On Tue, Apr 14, 2009 at 3:07 AM, Alexander Petkov <greenkov at gmail.com>wrote:

> On Mon, Apr 13, 2009 at 12:53 PM, MeLv1n wAuRaN <melvinnesta at gmail.com>
> wrote:
> > hi everybody,
> >
> > how do you make the legend in openlayers? is it possible to create the
> > legend with openlayers only?
>
> Sure, but then you'd have to have static, already rendered images for
> your map legend. In fact, you don't even need the OpenLayers API for
> this approach. Just make a div and populate it with your legend
> entries.
>
> Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090414/720fb9aa/attachment.html


More information about the Users mailing list