Constructor for WMSLayer.
Creates a new WMSLayer.
Prefer using LayerFactory.create instead of calling the constructor directly
Constructor for WMSLayer.