I am attempting to create a WmsrasterLayer to an OGC service with the following parameters:
var layer = new WmsRasterLayer(new Uri(wms.Url));
layer.Name = context.Name;
layer.Parameters.Add("format", "image/png");
layer.Parameters.Add("layers", context.ResourceURL);
layer.Parameters.Add("version", wms.Version);
layer.Parameters.Add("bgcolor", "0xFFFFFF");
layer.Parameters.Add("transparent", "true");
However, layer creation fails with message "The Wms request parameter LAYERS is missing." If these params are not case sensitive, what is wrong with my request/
Thanks
Klaus