Adding a WMS layer with a customized style

Discussion created by bgfield on Jan 22, 2014
Latest reply on Feb 24, 2014 by bgfield
I'm trying to add a WMS Service that's hosted elsewhere to one of my webmaps.  The default layer has a color scheme that doesn't really match what we're trying to do with our map, so the hosts of the service offered to set up a new style for us using colors that better fit our map.  They sent me a URL directly to the layer with the style, but I have no idea how to add that to my map.  Is this possible via JavaScript?

For reference, here's the URL I was sent:,4082994.0966,443060.8214000003,4366307.511000001&width=220&height=512&srs=EPSG:26918&format=application/openlayers