Skip to content

Commit 0a8abef

Browse files
committed
Website updates
1 parent 053cafb commit 0a8abef

7 files changed

Lines changed: 16 additions & 8 deletions

File tree

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

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

193193
<div class="tag-source">
194194
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/render.js">render.js</a>,
195-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/render.js#L139">line 139</a>
195+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/render.js#L147">line 147</a>
196196
</div>
197197

198198
</div>
@@ -356,7 +356,7 @@ <h4 class="name">
356356

357357
<div class="tag-source">
358358
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/render.js">render.js</a>,
359-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/render.js#L93">line 93</a>
359+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/render.js#L101">line 101</a>
360360
</div>
361361

362362
</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/render.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/render.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,15 @@ export function toContext(context, options) {
8181
}
8282
const extent = [0, 0, canvas.width, canvas.height];
8383
const transform = scaleTransform(createTransform(), pixelRatio, pixelRatio);
84-
return new CanvasImmediateRenderer(context, pixelRatio, extent, transform, 0);
84+
const squaredTolerance = getSquaredTolerance(1, pixelRatio);
85+
return new CanvasImmediateRenderer(
86+
context,
87+
pixelRatio,
88+
extent,
89+
transform,
90+
0,
91+
squaredTolerance,
92+
);
8593
}
8694

8795
/**

0 commit comments

Comments
 (0)