src/windshaft/response.js
function Response (windshaftSettings, serverResponse) {
  this._windshaftSettings = windshaftSettings;
  this._layerGroupId = serverResponse.layergroupid;
  this._layers = serverResponse.metadata.layers;
  this._dataviews = serverResponse.metadata.dataviews;
  this._analyses = serverResponse.metadata.analyses;
  this._cdnUrl = serverResponse.cdn_url;
}
function Response (windshaftSettings, serverResponse) {
  this._windshaftSettings = windshaftSettings;
  this._layerGroupId = serverResponse.layergroupid;
  this._layers = serverResponse.metadata.layers;
  this._dataviews = serverResponse.metadata.dataviews;
  this._analyses = serverResponse.metadata.analyses;
  this._cdnUrl = serverResponse.cdn_url;
}
function Response ( windshaftSettings , serverResponse ) { this . _windshaftSettings = windshaftSettings ; this . _layerGroupId = serverResponse . layergroupid ; this . _layers = serverResponse . metadata . layers ; this . _dataviews = serverResponse . metadata . dataviews ; this . _analyses = serverResponse . metadata . analyses ; this . _cdnUrl = serverResponse . cdn_url ; }
Wrapper over a server response to a map instantiation giving some utility methods.
@constructor
@param {object} windshaftSettings - Object containing the request options.
@param {string} serverResponse - The json string representing a windshaft response to a map instantiation.
Wrapper over a server response to a map instantiation giving some utility methods .