ol 7.0.0-dev.1660306636479 → 7.0.0-dev.1660400661997
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/style/expressions.js +1 -1
- package/util.js +1 -1
package/package.json
CHANGED
package/style/expressions.js
CHANGED
|
@@ -503,7 +503,7 @@ Operators['band'] = {
|
|
|
503
503
|
for (let i = 0; i < bandCount; i++) {
|
|
504
504
|
const colorIndex = Math.floor(i / 4);
|
|
505
505
|
let bandIndex = i % 4;
|
|
506
|
-
if (
|
|
506
|
+
if (i === bandCount - 1 && bandIndex === 1) {
|
|
507
507
|
// LUMINANCE_ALPHA - band 1 assigned to rgb and band 2 assigned to alpha
|
|
508
508
|
bandIndex = 3;
|
|
509
509
|
}
|
package/util.js
CHANGED