Skip to content

Commit 405c2e1

Browse files
committed
Website updates
1 parent 890c0ed commit 405c2e1

11 files changed

+24
-26
lines changed

dist/en/main/apidoc/module-ol_style_Circle-CircleStyle.html

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

12801280
<div class="tag-source">
12811281
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
1282-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L299">line 299</a>
1282+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L297">line 297</a>
12831283
</div>
12841284

12851285
</div>
@@ -1371,7 +1371,7 @@ <h4 class="name">
13711371

13721372
<div class="tag-source">
13731373
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
1374-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L308">line 308</a>
1374+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L306">line 306</a>
13751375
</div>
13761376

13771377
</div>
@@ -1463,7 +1463,7 @@ <h4 class="name">
14631463

14641464
<div class="tag-source">
14651465
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
1466-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L317">line 317</a>
1466+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L315">line 315</a>
14671467
</div>
14681468

14691469
</div>
@@ -1555,7 +1555,7 @@ <h4 class="name">
15551555

15561556
<div class="tag-source">
15571557
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
1558-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L326">line 326</a>
1558+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L324">line 324</a>
15591559
</div>
15601560

15611561
</div>
@@ -1923,7 +1923,7 @@ <h4 class="name">
19231923

19241924
<div class="tag-source">
19251925
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
1926-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L336">line 336</a>
1926+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L334">line 334</a>
19271927
</div>
19281928

19291929
</div>
@@ -2015,7 +2015,7 @@ <h4 class="name">
20152015

20162016
<div class="tag-source">
20172017
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
2018-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L345">line 345</a>
2018+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L343">line 343</a>
20192019
</div>
20202020

20212021
</div>
@@ -3007,7 +3007,7 @@ <h4 class="name">
30073007

30083008
<div class="tag-source">
30093009
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
3010-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L354">line 354</a>
3010+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L352">line 352</a>
30113011
</div>
30123012

30133013
</div>

dist/en/main/apidoc/module-ol_style_RegularShape-RegularShape.html

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

13551355
<div class="tag-source">
13561356
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
1357-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L299">line 299</a>
1357+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L297">line 297</a>
13581358
</div>
13591359

13601360
</div>
@@ -1444,7 +1444,7 @@ <h4 class="name">
14441444

14451445
<div class="tag-source">
14461446
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
1447-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L308">line 308</a>
1447+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L306">line 306</a>
14481448
</div>
14491449

14501450
</div>
@@ -1534,7 +1534,7 @@ <h4 class="name">
15341534

15351535
<div class="tag-source">
15361536
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
1537-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L317">line 317</a>
1537+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L315">line 315</a>
15381538
</div>
15391539

15401540
</div>
@@ -1624,7 +1624,7 @@ <h4 class="name">
16241624

16251625
<div class="tag-source">
16261626
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
1627-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L326">line 326</a>
1627+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L324">line 324</a>
16281628
</div>
16291629

16301630
</div>
@@ -1990,7 +1990,7 @@ <h4 class="name">
19901990

19911991
<div class="tag-source">
19921992
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
1993-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L336">line 336</a>
1993+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L334">line 334</a>
19941994
</div>
19951995

19961996
</div>
@@ -2080,7 +2080,7 @@ <h4 class="name">
20802080

20812081
<div class="tag-source">
20822082
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
2083-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L345">line 345</a>
2083+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L343">line 343</a>
20842084
</div>
20852085

20862086
</div>
@@ -2942,7 +2942,7 @@ <h4 class="name">
29422942

29432943
<div class="tag-source">
29442944
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js">style/RegularShape.js</a>,
2945-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L354">line 354</a>
2945+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/style/RegularShape.js#L352">line 352</a>
29462946
</div>
29472947

29482948
</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/examples/offscreen-canvas.worker.worker.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/offscreen-canvas.worker.worker.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/style/RegularShape.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/style/RegularShape.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,8 @@ class RegularShape extends ImageStyle {
247247
);
248248
if (!image) {
249249
const renderOptions = this.renderOptions_;
250-
const context = createCanvasContext2D(
251-
renderOptions.size * pixelRatio,
252-
renderOptions.size * pixelRatio,
253-
);
250+
const size = Math.ceil(renderOptions.size * pixelRatio);
251+
const context = createCanvasContext2D(size, size);
254252
this.draw_(renderOptions, context, pixelRatio);
255253

256254
image = context.canvas;

0 commit comments

Comments
 (0)