Module for adding WMS layers to Leaflet map, switching between them, and producing legends.