Lint fixes
This commit is contained in:
parent
113b3728b1
commit
c91b28ee92
@ -110,7 +110,9 @@ module.exports = class AggregationMapConfig extends MapConfig {
|
||||
isAggregationLayer (index) {
|
||||
let hasAggregation = this.hasLayerAggregation(index);
|
||||
// for vector-only MapConfig are aggregated unless explicitly disabled
|
||||
return hasAggregation || (this.isVectorOnlyMapConfig() && hasAggregation !== AggregationMapConfig.HAS_AGGREGATION_DISABLED);
|
||||
return hasAggregation || (
|
||||
this.isVectorOnlyMapConfig() && hasAggregation !== AggregationMapConfig.HAS_AGGREGATION_DISABLED
|
||||
);
|
||||
}
|
||||
|
||||
isAggregationMapConfig () {
|
||||
@ -140,8 +142,6 @@ module.exports = class AggregationMapConfig extends MapConfig {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
return aggregation !== undefined && (typeof aggregation === 'object' || typeof aggregation === 'boolean');
|
||||
}
|
||||
|
||||
getAggregation (index) {
|
||||
|
Loading…
Reference in New Issue
Block a user