Feedback
For a valid GetLegendGraphic request, the server will return a response in the format specified by the FORMAT. For an invalid request, the server will return an exception.
The result of the request example is as follows:
{"layerLegends":[{"subLayerLegends":null,"layerType":"UGC","legends":[{"imageData":"iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAzUlEQVR4Xu3QMQqAQBAEwfv/W40UQSNFQyO5TmuhNpiwx7YuF3POY7/Gd+Q/ASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBIwEjASMBozfg85jz3A3oSWK0eZ/PXQAAAABJRU5ErkJggg==","values":null,"width":80,"label":"Province_R@China#1","contentType":"image/png","url":"http://{ip}:{port}/iserver/output/resources/China/SYMBOLFILL/0_-1135193351.png","height":80}],"maxScale":3.4614550537849545E-6,"layerCaption":"Province_R@China#1","layerName":"Province_R@China#1","minScale":1.0817046855864374E-7}]}