Form ArcMap service - we get JSON for Legend similar to this
https://p.com/arcgis/rest/services/aaa/aaa/MapServer/Legend?f=pjson&token=d.&callback=angular.callbacks._0
angular.callbacks._0({ "layers": [ { "layerId": 1, "layerName": "abc",
"layerType": "Feature Layer", "minScale": 0, "ma
Note that there is the "GetStyles" request (it's part of the SLD spec) - this
returns the Style used for the layer as XML.
There are various convertors out there to convert XML to JSON - if you plugged
one of them in as a piece of middleware between the client which needs JSON and
GeoServer whi
Hi,
there is no json support for GetLegendGraphics, the proposal you're linking
to
never got approved and implemented sorry! :-)
Also see in the master proposal list, it's listed below the "deferred and
rejected" proposals:
https://github.com/geoserver/geoserver/wiki/Proposals#deferred-and-rej