code: function( wmsBaseUrl, queryOptions ) {
  		queryOptions = extend( {
  			request: 'GetCapabilities',
  			version: this.version,
  			service: 'WMS'
  		}, queryOptions );
  		// Append user provided GET parameters in the URL to required queryOptions
  		var urlQueryParams = new urijs( wmsBaseUrl ).search( true );
  		queryOptions = extend( queryOptions, urlQueryParams );
  		// Merge queryOptions GET parameters to the URL
  		var url = new urijs( wmsBaseUrl ).search( queryOptions );
  		debug( 'Using capabilities URL: %s', url );
  		return url.toString();
  	}
docs: Formats an URL to include specific GET parameters
  required for a GETCAPABILITIES WMS method request