Remove method
This commit is contained in:
parent
a1d536642e
commit
efdfabf3e9
@ -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 () {
|
isAggregationMapConfig () {
|
||||||
return this.isVectorOnlyMapConfig() || this.hasAnyLayerAggregation();
|
return this.isVectorOnlyMapConfig() || this.hasAnyLayerAggregation();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user