[OpenLayers-Users] WMSCapabilities to retrieve the legend url
Linde Ackermans
roselinda.ackermans at ec.europa.eu
Mon Apr 20 09:44:21 EDT 2009
Hi,
I want to use this WMSCapabilities to retrieve the legend url of every layer
to be able to build a legend ( our WMS server does not support
GetLegendGraphic ... ) but I don't find how to use it.
Is there a code example available ?
Thanks.
Linde
Steve.Toutant wrote:
>
> Hi,
> I got this error
> "OpenLayers.Format.WMSCapabilities is not a constructor"
>
> when trying this
> var capabilitiesFormat = new OpenLayers.Format.WMSCapabilities();
>
>
--
View this message in context: http://n2.nabble.com/how-to-make-the-legend-in-openlayers--tp2629328p2663673.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list