Currently, the ol/format/WMSCapabilites only parses the mandatory tags of the Capability.Request. https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/format/WMSCapabilities.js#L205 I need to be able to read the sld:GetLegendGraphic Request tag. My question has a few parts:
- Is there a way to initialise the ol.format.WMSCapabilities to allow it to read SLD formatted tags?
- If not, is there a reason why? (Never got to it or prefer not to add the SLD format?)
- Could I provide a patch to add that funtionnality?
I tried to read the response from a GetCapabilities that include a GetLegendGraphic in the Request. The ol.format.WMSCapabilities did not return that option in the Requests.