Hi,

normally you would use the GetCapabilities interface for this, and then
parse it with OpenLayers.Format.WMSGetCapabilities. You need trunk for
that though since it's not in 2.7.

Best regards,
Bart

>
> Hi,
>
> I need to get a list of all layers from wms service. So I can choose
> serveral of it and load it dynamicaly. The wms server is a geoserver and
> I'm working with OpenLayers 2.7.
>
> Thanks for every hint!
>
> --
> View this message in context:
> http://n2.nabble.com/How-to-get-list-of-all-Layers-from-a-wms-servoce--tp2642660p2642660.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>


_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to