index.js
function( queryOptions, callback ) {
		var _this = this;
		if ( typeof queryOptions === 'function' ) {
			callback = queryOptions;
			this.capabilities( function( err, capabilities ) {
				if ( err ) {
					debug( 'Error getting layers: %j', err );
					return callback( err );
				}
				if ( _this.version === '1.3.0' ) {
					callback( null, capabilities.capability.layer.crs );
				} else {
					callback( null, capabilities.capability.layer.srs );
				}
			} );
		} else if ( typeof callback === 'function' ) {
			this.capabilities( queryOptions, function( err, capabilities ) {
				if ( err ) {
					debug( 'Error getting layers: %j', err );
					return callback( err );
				}
				if ( _this.version === '1.3.0' ) {
					callback( null, capabilities.capability.layer.crs );
				} else {
					callback( null, capabilities.capability.layer.srs );
				}
			} );
		}
	}
function( queryOptions, callback ) {
		var _this = this;
		if ( typeof queryOptions === 'function' ) {
			callback = queryOptions;
			this.capabilities( function( err, capabilities ) {
				if ( err ) {
					debug( 'Error getting layers: %j', err );
					return callback( err );
				}
				if ( _this.version === '1.3.0' ) {
					callback( null, capabilities.capability.layer.crs );
				} else {
					callback( null, capabilities.capability.layer.srs );
				}
			} );
		} else if ( typeof callback === 'function' ) {
			this.capabilities( queryOptions, function( err, capabilities ) {
				if ( err ) {
					debug( 'Error getting layers: %j', err );
					return callback( err );
				}
				if ( _this.version === '1.3.0' ) {
					callback( null, capabilities.capability.layer.crs );
				} else {
					callback( null, capabilities.capability.layer.srs );
				}
			} );
		}
	}
function ( queryOptions , callback ) { var _this = this ; if ( typeof queryOptions === 'function' ) { callback = queryOptions ; this . capabilities ( function ( err , capabilities ) { if ( err ) { debug ( 'Error getting layers: %j' , err ) ; return callback ( err ) ; } if ( _this . version === '1.3.0' ) { callback ( null , capabilities . capability . layer . crs ) ; } else { callback ( null , capabilities . capability . layer . srs ) ; } } ) ; } else if ( typeof callback === 'function' ) { this . capabilities ( queryOptions , function ( err , capabilities ) { if ( err ) { debug ( 'Error getting layers: %j' , err ) ; return callback ( err ) ; } if ( _this . version === '1.3.0' ) { callback ( null , capabilities . capability . layer . crs ) ; } else { callback ( null , capabilities . capability . layer . srs ) ; } } ) ; } }
Gets the WMS supported Coordinate reference systems reported in the capabilities as an array

@param {Object} [Optional] queryOptions. Options passed as GET parameters
@param {Function} callback.
- {Error} null if nothing bad happened
- {Array} CRSs as an array strings
Gets the WMS supported Coordinate reference systems reported in the capabilities as an array