map_legend_metric.Rd
This function constructs a legend for a map layer by sending a GetLegendGraphic request to a WMS (Web Map Service) server.
map_legend_metric(sld_body, wms_params)
A character string containing the SLD (Styled Layer Descriptor) body that defines the map layer's styling.
list containing the specific network-WMS parameters.
An HTML img tag representing the legend for the specified map layer.