src/util/WcsTileUrlBuilder.js
function (serviceAddress, coverageName, wcsVersion) {
            if (!serviceAddress || (serviceAddress.length === 0)) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "WcsTileUrlBuilder", "constructor",
                        "The WCS service address is missing."));
            }

            if (!coverageName || (coverageName.length === 0)) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "WcsTileUrlBuilder", "constructor",
                        "The WCS coverage name is missing."));
            }

            /**
             * The address of the WCS server.
             * @type {String}
             */
            this.serviceAddress = serviceAddress;

            /**
             * The name of the coverage to retrieve.
             * @type {String}
             */
            this.coverageName = coverageName;

            /**
             * The WCS version to specify when requesting resources.
             * @type {String}
             * @default 1.0.0
             */
            this.wcsVersion = (wcsVersion && wcsVersion.length > 0) ? wcsVersion : "1.0.0";

            /**
             * The coordinate reference system to use when requesting coverages.
             * @type {String}
             * @default EPSG:4326
             */
            this.crs = "EPSG:4326";
        }
function (serviceAddress, coverageName, wcsVersion) {
            if (!serviceAddress || (serviceAddress.length === 0)) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "WcsTileUrlBuilder", "constructor",
                        "The WCS service address is missing."));
            }

            if (!coverageName || (coverageName.length === 0)) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "WcsTileUrlBuilder", "constructor",
                        "The WCS coverage name is missing."));
            }

            /**
             * The address of the WCS server.
             * @type {String}
             */
            this.serviceAddress = serviceAddress;

            /**
             * The name of the coverage to retrieve.
             * @type {String}
             */
            this.coverageName = coverageName;

            /**
             * The WCS version to specify when requesting resources.
             * @type {String}
             * @default 1.0.0
             */
            this.wcsVersion = (wcsVersion && wcsVersion.length > 0) ? wcsVersion : "1.0.0";

            /**
             * The coordinate reference system to use when requesting coverages.
             * @type {String}
             * @default EPSG:4326
             */
            this.crs = "EPSG:4326";
        }
function ( serviceAddress , coverageName , wcsVersion ) { if ( ! serviceAddress || ( serviceAddress . length === 0 ) ) { throw new ArgumentError ( Logger . logMessage ( Logger . LEVEL_SEVERE , "WcsTileUrlBuilder" , "constructor" , "The WCS service address is missing." ) ) ; } if ( ! coverageName || ( coverageName . length === 0 ) ) { throw new ArgumentError ( Logger . logMessage ( Logger . LEVEL_SEVERE , "WcsTileUrlBuilder" , "constructor" , "The WCS coverage name is missing." ) ) ; } /**
             * The address of the WCS server.
             * @type {String}
             */ this . serviceAddress = serviceAddress ; /**
             * The name of the coverage to retrieve.
             * @type {String}
             */ this . coverageName = coverageName ; /**
             * The WCS version to specify when requesting resources.
             * @type {String}
             * @default 1.0.0
             */ this . wcsVersion = ( wcsVersion && wcsVersion . length > 0 ) ? wcsVersion : "1.0.0" ; /**
             * The coordinate reference system to use when requesting coverages.
             * @type {String}
             * @default EPSG:4326
             */ this . crs = "EPSG:4326" ; }
Constructs a WCS tile URL builder.
@alias WcsTileUrlBuilder
@constructor
@classdesc Provides a factory to create URLs for WCS Get Coverage requests.
@param {String} serviceAddress The address of the WCS server.
@param {String} coverageName The name of the coverage to retrieve.
@param {String} wcsVersion The version of the WCS server. May be null, in which case version 1.0.0 is
assumed.
@constructor
@deprecated
Constructs a WCS tile URL builder .