Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db0c8c3c3a | ||
|
|
1941be9995 | ||
|
|
313bff7aff |
7
changelog/v3.10.1.md
Normal file
7
changelog/v3.10.1.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# v3.10.1
|
||||
|
||||
## Summary
|
||||
|
||||
This is a patch release that fixes a regression causing text styles with a fill but no stroke to not be rendered.
|
||||
|
||||
* [#4242](https://github.com/openlayers/ol3/pull/4242) - Fix a drawText regression introduced with 31a68e2 ([@marcjansen](https://github.com/marcjansen))
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "openlayers",
|
||||
"version": "3.10.0",
|
||||
"version": "3.10.1",
|
||||
"description": "Build tools and sources for developing OpenLayers based mapping applications",
|
||||
"keywords": [
|
||||
"map",
|
||||
|
||||
@@ -1560,10 +1560,8 @@ goog.inherits(ol.render.canvas.TextReplay, ol.render.canvas.Replay);
|
||||
*/
|
||||
ol.render.canvas.TextReplay.prototype.drawText =
|
||||
function(flatCoordinates, offset, end, stride, geometry, feature) {
|
||||
if (this.text_ === '' ||
|
||||
!this.textState_ ||
|
||||
(this.textFillState_ &&
|
||||
!this.textStrokeState_)) {
|
||||
if (this.text_ === '' || !this.textState_ ||
|
||||
(!this.textFillState_ && !this.textStrokeState_)) {
|
||||
return;
|
||||
}
|
||||
if (this.textFillState_) {
|
||||
|
||||
Reference in New Issue
Block a user