Change argument order to be more consistent
This commit is contained in:
parent
d947700646
commit
8d42909eab
@ -138,7 +138,7 @@ module.exports = class AggregationMapConfigAdapter {
|
||||
|
||||
_adaptLayer (connection, layer, index, isVectorOnlyMapConfig, mapConfig) {
|
||||
return new Promise((resolve, reject) => {
|
||||
this._checkLayerAggregationMetadata(connection, isVectorOnlyMapConfig, layer, index, (err, shouldAdapt) => {
|
||||
this._checkLayerAggregationMetadata(connection, layer, index, isVectorOnlyMapConfig, (err, shouldAdapt) => {
|
||||
if (err) {
|
||||
return reject(err);
|
||||
}
|
||||
@ -162,7 +162,7 @@ module.exports = class AggregationMapConfigAdapter {
|
||||
});
|
||||
}
|
||||
|
||||
_checkLayerAggregationMetadata (connection, isVectorOnlyMapConfig, layer, index, callback) {
|
||||
_checkLayerAggregationMetadata (connection, layer, index, isVectorOnlyMapConfig, callback) {
|
||||
let shouldAdapt = false;
|
||||
|
||||
if (!isVectorOnlyMapConfig && !this._hasLayerAggregation(layer)) {
|
||||
|
Loading…
Reference in New Issue
Block a user