Skip to content

Commit 3ee26ee

Browse files
committed
Website updates
1 parent 7f94890 commit 3ee26ee

10 files changed

Lines changed: 13 additions & 10 deletions

File tree

dist/en/main/apidoc/module-ol_layer_WebGLTile-WebGLTileLayer.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ <h4 class="name">
198198

199199
<div class="tag-source">
200200
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/WebGLTile.js">layer/WebGLTile.js</a>,
201-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/WebGLTile.js#L301">line 301</a>
201+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/WebGLTile.js#L303">line 303</a>
202202
</div>
203203

204204
</div>
@@ -1396,7 +1396,7 @@ <h4 class="name">
13961396

13971397
<div class="tag-source">
13981398
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/WebGLTile.js">layer/WebGLTile.js</a>,
1399-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/WebGLTile.js#L551">line 551</a>
1399+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/WebGLTile.js#L553">line 553</a>
14001400
</div>
14011401

14021402
</div>
@@ -5869,7 +5869,7 @@ <h4 class="name">
58695869

58705870
<div class="tag-source">
58715871
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/WebGLTile.js">layer/WebGLTile.js</a>,
5872-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/WebGLTile.js#L540">line 540</a>
5872+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/WebGLTile.js#L542">line 542</a>
58735873
</div>
58745874

58755875
</div>

dist/en/main/apidoc/module-ol_source_GeoTIFF-GeoTIFFSource.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ <h4 class="name">
18351835

18361836
<div class="tag-source">
18371837
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/GeoTIFF.js">source/GeoTIFF.js</a>,
1838-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/GeoTIFF.js#L1192">line 1192</a>
1838+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/GeoTIFF.js#L1193">line 1193</a>
18391839
</div>
18401840

18411841
</div>

dist/en/main/examples/common.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/layer/WebGLTile.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/layer/WebGLTile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ function parseStyle(style, bandCount, nodataBandIndex) {
268268
Uniforms.TILE_TEXTURE_ARRAY
269269
}[0], v_textureCoord);
270270
271+
${nodataBandIndex && style.color === undefined ? `color.a = getBandValue(${nodataBandIndex}.0, 0.0, 0.0);` : ''}
272+
271273
${nodataBandIndex ? `if (getBandValue(${nodataBandIndex}.0, 0.0, 0.0) == 0.0) { discard; }` : ''}
272274
273275
${pipeline.join('\n')}

dist/en/main/ol/source/GeoTIFF.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/source/GeoTIFF.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,7 @@ class GeoTIFFSource extends DataTile {
865865
bandCount += samplesPerPixel[sourceIndex];
866866
}
867867
this.bandCount = bandCount;
868+
this.nodataBandIndex = this.addAlpha_ ? this.bandCount : undefined;
868869

869870
const tileGrid = new TileGrid({
870871
extent: extent,

0 commit comments

Comments
 (0)