src/worldmap_ctrl.js
/*
  * Process the resultset
  * @dataList: The resultset from the executed query
  */
Process the resultset
@dataList: The resultset from the executed query
Process the resultset @dataList : The resultset from the executed query
onDataReceived(dataList) {
    if (this.dashboard.snapshot && this.locations) {
      this.panel.snapshotLocationData = this.locations;
    }
    if (!dataList) {
      console.debug('No dataList recieved but continuing...');
      return;
    }
    if (dataList.length === 0) {
      console.debug('Empty dataList. returning...');
      return;
    }
    this.data = dataFormatter.getValues(dataList);
    this.layerNames = Object.keys(this.data);
    this.render();
  }
onDataReceived ( dataList ) { if ( this . dashboard . snapshot && this . locations ) { this . panel . snapshotLocationData = this . locations ; } if ( ! dataList ) { console . debug ( 'No dataList recieved but continuing...' ) ; return ; } if ( dataList . length === 0 ) { console . debug ( 'Empty dataList. returning...' ) ; return ; } this . data = dataFormatter . getValues ( dataList ) ; this . layerNames = Object . keys ( this . data ) ; this . render ( ) ; }
Process the resultset
 @dataList: The resultset from the executed query
Process the resultset @dataList : The resultset from the executed query
// console.debug('dataList:') // console.debug(dataList) // , this.panel.metrics);