Rename method

This commit is contained in:
Daniel García Aubert 2017-12-29 18:25:08 +01:00
parent 75f72c4d07
commit 83d0ce4040

View File

@ -210,10 +210,10 @@ module.exports = class AggregationMapConfig extends MapConfig {
return (this.isVectorOnlyMapConfig() && !this.hasLayerAggregation(index)) || return (this.isVectorOnlyMapConfig() && !this.hasLayerAggregation(index)) ||
aggregation === true || aggregation === true ||
this._isEmptyAggregation(aggregation); this._isDefaultAggregation(aggregation);
} }
_isEmptyAggregation (aggregation) { _isDefaultAggregation (aggregation) {
return aggregation.placement === undefined && return aggregation.placement === undefined &&
aggregation.columns === undefined && aggregation.columns === undefined &&
this._isEmptyParameter(aggregation.dimensions); this._isEmptyParameter(aggregation.dimensions);