Added support for wms as an overlay layer