ol 10.6.2-dev.1756313243274 → 10.6.2-dev.1758022692300

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "10.6.2-dev.1756313243274",
3
+ "version": "10.6.2-dev.1758022692300",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
@@ -376,8 +376,8 @@ class ReprojDataTile extends DataTile {
376
376
  const size = this.targetTileGrid_.getTileSize(z);
377
377
  const targetWidth = typeof size === 'number' ? size : size[0];
378
378
  const targetHeight = typeof size === 'number' ? size : size[1];
379
- const outWidth = targetWidth * this.pixelRatio_;
380
- const outHeight = targetHeight * this.pixelRatio_;
379
+ const outWidth = Math.round(targetWidth * this.pixelRatio_);
380
+ const outHeight = Math.round(targetHeight * this.pixelRatio_);
381
381
  const targetResolution = this.targetTileGrid_.getResolution(z);
382
382
  const sourceResolution = this.sourceTileGrid_.getResolution(this.sourceZ_);
383
383
 
@@ -510,7 +510,7 @@ class ReprojDataTile extends DataTile {
510
510
  } else {
511
511
  this.reprojData_ = dataR;
512
512
  }
513
- this.reprojSize_ = [Math.round(outWidth), Math.round(outHeight)];
513
+ this.reprojSize_ = [outWidth, outHeight];
514
514
  this.state = TileState.LOADED;
515
515
  this.changed();
516
516
  }
package/util.js CHANGED
@@ -33,4 +33,4 @@ export function getUid(obj) {
33
33
  * OpenLayers version.
34
34
  * @type {string}
35
35
  */
36
- export const VERSION = '10.6.2-dev.1756313243274';
36
+ export const VERSION = '10.6.2-dev.1758022692300';