Can you show us some code or more details on what you use?

Are you using a WMSCapabilitiesStore? Since it should use the title and 
fallback to the name:

                    values.layer = new OpenLayers.Layer.WMS(
                        layer.title || layer.name, url, params, options
                    );

Best regards,
Bart

Bart van den Eijnden
Front-end Developer | Boundless
@boundlessgeo

On Oct 2, 2013, at 4:31 AM, Raffaele Morelli <raffaele.more...@gmail.com> wrote:

> Hi,
> 
> I am developing a web app with GeoExt and using a layer tree.
> 
> Layers are fetched from a WMS server (mapserver) but layers names in the tree 
> are used instead of wms_title parameter in the mapfile.
> 
> Problem is that layers names are somewhat "ugly" due to mapserver 
> recommendation that [quote] a layer name should not contain spaces, special 
> characters and not begin with a number [/quote].
> 
> I know I can override mapserver recommendation but my question is: why GeoExt 
> does not use wms_title parameter in the mapfile?
> 
> Regards
> /raffaele
> _______________________________________________
> Users mailing list
> Users@geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to