Timeline for GetLegendGraphic request in my Geoserver map code?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 13, 2019 at 11:13 | comment | added | Amelia Nicodemus | That does not work, no categorized legend on my layer switcher, am I missing something? | |
Oct 13, 2019 at 11:12 | comment | added | Amelia Nicodemus | I have got a layer switcher and would like to add a categorized legend on there for my WMS layer. I made a call in my js like var Karibib_Land_Parcels = new OpenLayers.Layer.WMS ( "Land Parcels", "localhost:8080/geoserver/Karibib/wms", {layers:"Karibib:Karibib_Land_Parcels",transparent: true, EPSG:4326, format: "image/gif"}, {visibility: false}, {legendPath:"localhost:8080/geoserver/…"}, {'displayInLayerSwitcher':true} ); | |
Jan 10, 2016 at 18:28 | history | migrated | from stackoverflow.com (revisions) | ||
Dec 29, 2015 at 17:30 | comment | added | Ian Turton | Then you need a layer switcher | |
Dec 29, 2015 at 17:29 | comment | added | Toronto23 | I see. I do not want an image of the legend. I want the user to be able to toggle between the different layers. | |
Dec 29, 2015 at 11:40 | history | answered | Ian Turton | CC BY-SA 3.0 |