[Users] wms_title not read?
Raffaele Morelli
raffaele.morelli at gmail.com
Fri Jun 7 10:38:09 CEST 2013
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
}
)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20130607/e6b7a722/attachment.htm
More information about the Users
mailing list