Added functionality for adding WMS layers to the map