[Users] wms_title not used
Raffaele Morelli
raffaele.morelli at gmail.com
Fri Oct 4 06:00:28 CEST 2013
2013/10/3 Bart van den Eijnden <bartvde at boundlessgeo.com>
> There is no GetCapabilities request involved here, the application isn't
> using WMS GetCapabilities at all.
>
> What happens is that the layers param is split on "," and the strings are
> taken from there.
>
> If possible use separate WMS layers (so you can define the title on the
> OpenLayers Layer object) and group them together in the tree instead of
> using a LayerParamLoader.
>
Ok, so it's the standard behaviour of OpenLayers.Layer.WMS constructor
though not what I would expect because wms_title is required in the OGC
implementation specification.
However this could be overridden by using the same string for wms_title and
layer name.
>
> This might not be a trivial exercise though, for some inspiration you
> could look here:
>
>
> https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/LayerTree.js
>
Thank you for the tip I will have a look... at least try to :-)
> Best regards,
> Bart
>
Regards
/raffaele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20131004/d36fcfae/attachment.htm
More information about the Users
mailing list