Skip to content

Commit 3b8f712

Browse files
committed
Website updates
1 parent debaf8c commit 3b8f712

File tree

9 files changed

+104
-19
lines changed

9 files changed

+104
-19
lines changed

dist/en/main/apidoc/module-ol_layer_BaseTile-BaseTileLayer.html

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ <h4 class="name">
196196

197197
<div class="tag-source">
198198
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
199-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L63">line 63</a>
199+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L65">line 65</a>
200200
</div>
201201

202202
</div>
@@ -553,6 +553,32 @@ <h4 class="name">
553553

554554

555555

556+
<tr class="">
557+
558+
<td class="name"><code>background</code></td>
559+
560+
561+
562+
<td class="type">
563+
564+
565+
<span class="param-type"><a href="module-ol_layer_Base.html#~BackgroundColor">BackgroundColor</a></span>
566+
567+
| undefined
568+
569+
570+
</td>
571+
572+
573+
574+
<td class="description last">
575+
576+
<p>Background color for the layer. If not specified, no background
577+
will be rendered.</p></td>
578+
</tr>
579+
580+
581+
556582
<tr class="">
557583

558584
<td class="name"><code>useInterimTilesOnError</code></td>
@@ -1626,7 +1652,7 @@ <h4 class="name">
16261652

16271653
<div class="tag-source">
16281654
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
1629-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L175">line 175</a>
1655+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L177">line 177</a>
16301656
</div>
16311657

16321658
</div>
@@ -2417,7 +2443,7 @@ <h4 class="name">
24172443

24182444
<div class="tag-source">
24192445
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
2420-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L122">line 122</a>
2446+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L124">line 124</a>
24212447
</div>
24222448

24232449
</div>
@@ -2784,7 +2810,7 @@ <h4 class="name">
27842810

27852811
<div class="tag-source">
27862812
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
2787-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L142">line 142</a>
2813+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L144">line 144</a>
27882814
</div>
27892815

27902816
</div>
@@ -4627,7 +4653,7 @@ <h4 class="name">
46274653

46284654
<div class="tag-source">
46294655
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
4630-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L132">line 132</a>
4656+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L134">line 134</a>
46314657
</div>
46324658

46334659
</div>
@@ -5038,7 +5064,7 @@ <h4 class="name">
50385064

50395065
<div class="tag-source">
50405066
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
5041-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L154">line 154</a>
5067+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L156">line 156</a>
50425068
</div>
50435069

50445070
</div>

dist/en/main/apidoc/module-ol_layer_BaseTile.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,30 @@ <h5 class="subsection-title">Properties:</h5>
498498

499499

500500

501+
<tr>
502+
503+
<td class="name"><code>background</code></td>
504+
505+
506+
<td class="type">
507+
508+
509+
<span class="param-type"><a href="module-ol_layer_Base.html#~BackgroundColor">BackgroundColor</a></span>
510+
511+
| undefined
512+
513+
514+
</td>
515+
516+
<td class="description last">
517+
<p>Background color for the layer. If not specified, no background
518+
will be rendered.</p>
519+
520+
</td>
521+
</tr>
522+
523+
524+
501525
<tr>
502526

503527
<td class="name"><code>useInterimTilesOnError</code></td>

dist/en/main/apidoc/module-ol_layer_Tile-TileLayer.html

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,32 @@ <h4 class="name">
553553

554554

555555

556+
<tr class="">
557+
558+
<td class="name"><code>background</code></td>
559+
560+
561+
562+
<td class="type">
563+
564+
565+
<span class="param-type"><a href="module-ol_layer_Base.html#~BackgroundColor">BackgroundColor</a></span>
566+
567+
| undefined
568+
569+
570+
</td>
571+
572+
573+
574+
<td class="description last">
575+
576+
<p>Background color for the layer. If not specified, no background
577+
will be rendered.</p></td>
578+
</tr>
579+
580+
581+
556582
<tr class="">
557583

558584
<td class="name"><code>useInterimTilesOnError</code></td>
@@ -1617,7 +1643,7 @@ <h4 class="name">
16171643

16181644
<div class="tag-source">
16191645
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
1620-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L175">line 175</a>
1646+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L177">line 177</a>
16211647
</div>
16221648

16231649
</div>
@@ -2410,7 +2436,7 @@ <h4 class="name">
24102436

24112437
<div class="tag-source">
24122438
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
2413-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L122">line 122</a>
2439+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L124">line 124</a>
24142440
</div>
24152441

24162442
</div>
@@ -2779,7 +2805,7 @@ <h4 class="name">
27792805

27802806
<div class="tag-source">
27812807
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
2782-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L142">line 142</a>
2808+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L144">line 144</a>
27832809
</div>
27842810

27852811
</div>
@@ -4624,7 +4650,7 @@ <h4 class="name">
46244650

46254651
<div class="tag-source">
46264652
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
4627-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L132">line 132</a>
4653+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L134">line 134</a>
46284654
</div>
46294655

46304656
</div>
@@ -5037,7 +5063,7 @@ <h4 class="name">
50375063

50385064
<div class="tag-source">
50395065
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
5040-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L154">line 154</a>
5066+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L156">line 156</a>
50415067
</div>
50425068

50435069
</div>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,7 @@ <h4 class="name">
17571757

17581758
<div class="tag-source">
17591759
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
1760-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L175">line 175</a>
1760+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L177">line 177</a>
17611761
</div>
17621762

17631763
</div>
@@ -2550,7 +2550,7 @@ <h4 class="name">
25502550

25512551
<div class="tag-source">
25522552
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
2553-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L122">line 122</a>
2553+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L124">line 124</a>
25542554
</div>
25552555

25562556
</div>
@@ -2919,7 +2919,7 @@ <h4 class="name">
29192919

29202920
<div class="tag-source">
29212921
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
2922-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L142">line 142</a>
2922+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L144">line 144</a>
29232923
</div>
29242924

29252925
</div>
@@ -4764,7 +4764,7 @@ <h4 class="name">
47644764

47654765
<div class="tag-source">
47664766
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
4767-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L132">line 132</a>
4767+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L134">line 134</a>
47684768
</div>
47694769

47704770
</div>
@@ -5177,7 +5177,7 @@ <h4 class="name">
51775177

51785178
<div class="tag-source">
51795179
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js">layer/BaseTile.js</a>,
5180-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L154">line 154</a>
5180+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/layer/BaseTile.js#L156">line 156</a>
51815181
</div>
51825182

51835183
</div>

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.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/BaseTile.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ export type Options<TileSourceType extends import("../source/Tile.js").default>
6464
* use {@link import ("../Map.js").default#addLayer map.addLayer()}.
6565
*/
6666
map?: import("../Map.js").default | undefined;
67+
/**
68+
* Background color for the layer. If not specified, no background
69+
* will be rendered.
70+
*/
71+
background?: import("./Base").BackgroundColor | undefined;
6772
/**
6873
* Deprecated. Use interim tiles on error.
6974
*/
@@ -116,6 +121,8 @@ export type Options<TileSourceType extends import("../source/Tile.js").default>
116121
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
117122
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
118123
* use {@link import("../Map.js").default#addLayer map.addLayer()}.
124+
* @property {import("./Base.js").BackgroundColor} [background] Background color for the layer. If not specified, no background
125+
* will be rendered.
119126
* @property {boolean} [useInterimTilesOnError=true] Deprecated. Use interim tiles on error.
120127
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
121128
* @property {number} [cacheSize=512] The internal tile cache size. This needs to be large enough to render

dist/en/main/ol/layer/BaseTile.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/BaseTile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ import TileProperty from './TileProperty.js';
4141
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
4242
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
4343
* use {@link import("../Map.js").default#addLayer map.addLayer()}.
44+
* @property {import("./Base.js").BackgroundColor} [background] Background color for the layer. If not specified, no background
45+
* will be rendered.
4446
* @property {boolean} [useInterimTilesOnError=true] Deprecated. Use interim tiles on error.
4547
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
4648
* @property {number} [cacheSize=512] The internal tile cache size. This needs to be large enough to render

0 commit comments

Comments
 (0)