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

Alexander Petkov greenkov at gmail.com
Mon Apr 13 15:07:49 EDT 2009


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



More information about the Users mailing list