Hi, I am diving GeoExt examples and reproducing layer tree one. But I can't figure out what's wrong with wms_title parameter in the mapfile, ie, the "Tasmania (Group Layer)" doesn't show up wms_title metadata from the mapfile but layer name instead.
Is this a kinda bug? I wonder if there is any workaround to this behaviour because I guess nobody wants those "ugly" names with underscores and lower case letters. Any hints? Regards ------------------------------------------ Code snippet I am referring to. ------------------------------------------ new OpenLayers.Layer.WMS("Tasmania (Group Layer)", "http://demo.opengeo.org/geoserver/wms", { layers: [ "topp:tasmania_state_boundaries", "topp:tasmania_water_bodies", "topp:tasmania_cities", "topp:tasmania_roads" ], transparent: true, format: "image/gif" }, { isBaseLayer: false, buffer: 0, // exclude this layer from layer container nodes displayInLayerSwitcher: false, visibility: false } )
_______________________________________________ Users mailing list Users@geoext.org http://www.geoext.org/cgi-bin/mailman/listinfo/users