Compare commits

...

7 Commits
docs ... v5.3.2

Author SHA1 Message Date
ahocevar
bb9e13a3e5 Update package versin to v5.3.2 2019-04-11 11:23:15 +02:00
ahocevar
d1b1444744 Changelog for v5.3.2 2019-04-11 11:22:44 +02:00
Éric Lemoine
8992ed68f9 Merge pull request #9422 from elemoine/tile-render
Clear context when source revision changed (v5.3.x fix)
2019-04-11 11:16:58 +02:00
Tim Schaub
cb63b398d3 Merge pull request #9255 from openlayers/release-v5.3.1
Updates for 5.3.1
2019-02-21 13:16:41 -07:00
Tim Schaub
ce89a82e6a Updates for 5.3.1 2019-02-21 13:07:15 -07:00
Tim Schaub
1c269d6e0b Merge pull request #9253 from romanzoller/hotfix-PR-8893
Add proj.js to the sideEffects list
2019-02-21 13:02:24 -07:00
Frederic Junod
83b8fe4b33 Add proj.js to the sideEffects list 2019-02-21 17:10:20 +01:00
4 changed files with 16 additions and 2 deletions

6
changelog/v5.3.1.md Normal file
View File

@@ -0,0 +1,6 @@
# 5.3.1
The 5.3.1 release is a patch that addresses an issue when using `angular-cli` to build an OpenLayers-based application.
* [#9253](https://github.com/openlayers/openlayers/pull/9253) - Add proj.js to the sideEffects list ([@romanzoller](https://github.com/romanzoller))

6
changelog/v5.3.2.md Normal file
View File

@@ -0,0 +1,6 @@
# 5.3.2
The 5.3.2 release is a patch that addresses a tile source issue with old tile data when the source revision changed.
* [#9422](https://github.com/openlayers/openlayers/pull/9422) - Clear context when source revision changed (v5.3.x fix) ([@elemoine](https://github.com/elemoine))

View File

@@ -1,6 +1,6 @@
{ {
"name": "ol", "name": "ol",
"version": "5.3.0", "version": "5.3.2",
"description": "OpenLayers mapping library", "description": "OpenLayers mapping library",
"keywords": [ "keywords": [
"map", "map",
@@ -99,6 +99,7 @@
} }
}, },
"sideEffects": [ "sideEffects": [
"proj.js",
"ol.css" "ol.css"
] ]
} }

View File

@@ -234,7 +234,8 @@ class CanvasTileLayerRenderer extends IntermediateCanvasRenderer {
canvas.width = width; canvas.width = width;
canvas.height = height; canvas.height = height;
} else { } else {
if (this.renderedExtent_ && !equals(imageExtent, this.renderedExtent_)) { if ((this.renderedExtent_ && !equals(imageExtent, this.renderedExtent_)) ||
this.renderedRevision != sourceRevision) {
context.clearRect(0, 0, width, height); context.clearRect(0, 0, width, height);
} }
oversampling = this.oversampling_; oversampling = this.oversampling_;