add method for adding layers
sync wms settings to map on broadcasted event