Skip to content

Commit

Permalink
fix(COG): Fix COG levels parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin ETOURNEAU authored and Desplandis committed May 30, 2024
1 parent af4d061 commit 921bc03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/js/plugins/COGSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class COGSource extends itowns.Source {
.then(image => this.makeLevel(image, image.getResolution(this.firstImage)));
promises.push(promise);
}
this.levels.push(await Promise.all(promises));
this.levels = this.levels.concat(await Promise.all(promises));
});
}

Expand Down

0 comments on commit 921bc03

Please sign in to comment.