Remove method

This commit is contained in:
Daniel García Aubert 2017-12-22 12:14:34 +01:00
parent a1d536642e
commit efdfabf3e9

View File

@ -72,18 +72,6 @@ module.exports = class AggregationMapConfig extends MapConfig {
});
}
getAggregatedColumns (index) {
const { aggregation } = this.getLayer(index).options;
if (aggregation === undefined || aggregation.columns === undefined) {
return [];
}
return aggregation.columns
.map(({ aggregated_column }) => aggregated_column)
.filter(aggregated_column => typeof aggregated_column === 'string');
}
isAggregationMapConfig () {
return this.isVectorOnlyMapConfig() || this.hasAnyLayerAggregation();
}