Closed theduckylittle closed 7 years ago
Thanks @theduckylittle
I'll merge right away, but it would be nice if you can figure out a way to invoke the new code with the tests, right now the conditional is out of coverage.
Test added here: https://github.com/boundlessgeo/registry/pull/117
The intention of this PR is to provide Legend support for those WMS sources which provide the capabilitiy. As a general rule, Warper-sourced layers appear to fail when making GetLegendRequests. In order to avoid that problem, the code below will only publish a legend_url for layers which are from OGC:WMS format layers.
Notes on the changes: