Timeline for How to get WMS layer title instead of layer name from Geoserver?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 16, 2017 at 13:36 | comment | added | nmtoken |
You can parse the WMS GetCapabilities response to get the name and title of the layers in the service. name is for computer interaction, title is for humans to read.
|
|
Oct 1, 2011 at 16:46 | vote | accept | Seen | ||
Oct 1, 2011 at 15:15 | answer | added | unicoletti | timeline score: 2 | |
Oct 1, 2011 at 14:58 | comment | added | Seen | I was expecting the title parameter would come with the post back WMS. So could you tell me how to do static one? Thanks! @unicoletti | |
Oct 1, 2011 at 13:18 | comment | added | unicoletti | There are 2 ways: dynamic (difficult) and static (easy) | |
Oct 1, 2011 at 13:03 | history | edited | underdark | CC BY-SA 3.0 |
deleted 3 characters in body; edited title
|
Oct 1, 2011 at 12:52 | comment | added | Seen | Do you think this is the only way? | |
Oct 1, 2011 at 7:06 | comment | added | unicoletti | What is the value of the first param passed to the openlayers layer constructor? I bet it is "usa". Now do you want do dynamically fetch the layer name from geoserver? | |
Oct 1, 2011 at 6:06 | history | asked | Seen | CC BY-SA 3.0 |