Refactor stroke style management to reuse code

This commit is contained in:
Andreas Hocevar
2017-11-10 01:16:18 +01:00
parent 47e6918072
commit c6eca804f9
5 changed files with 155 additions and 295 deletions

View File

@@ -88,7 +88,7 @@ ol.render.canvas.TextReplay = function(
* @private
* @type {ol.CanvasTextState}
*/
this.textState_ = {};
this.textState_ = /** @type {ol.CanvasTextState} */ ({});
/**
* @private