Passing WMS settings in and construct with base layers