lib/Models/RegionParameter.js
function(options) {
  if (!defined(options) || !defined(options.regionProvider)) {
    throw new DeveloperError("options.regionProvider is required.");
  }

  FunctionParameter.call(this, options);

  this._regionProvider = options.regionProvider;
}
function(options) {
  if (!defined(options) || !defined(options.regionProvider)) {
    throw new DeveloperError("options.regionProvider is required.");
  }

  FunctionParameter.call(this, options);

  this._regionProvider = options.regionProvider;
}
function ( options ) { if ( ! defined ( options ) || ! defined ( options . regionProvider ) ) { throw new DeveloperError ( "options.regionProvider is required." ) ; } FunctionParameter . call ( this , options ) ; this . _regionProvider = options . regionProvider ; }
A parameter that specifies a particular region.

@alias RegionParameter
@constructor
@extends FunctionParameter

@param {Object} [options] Object with the following properties:
@param {Terria} options.terria The Terria instance.
@param {String} options.id The unique ID of this parameter.
@param {String} [options.name] The name of this parameter.  If not specified, the ID is used as the name.
@param {String} [options.description] The description of the parameter.
@param {RegionProvider|RegionTypeParameter} options.regionProvider The {@link RegionProvider} from which a region may be selected.  This may also
be a {@link RegionTypeParameter} that specifies the type of region.
A parameter that specifies a particular region .