Merge pull request #1709 from twpayne/fix-immediate-text-style
Set text style in ol.render.canvas.Immediate
This commit is contained in:
@@ -255,6 +255,7 @@ ol.render.canvas.Immediate.prototype.drawText_ =
|
|||||||
if (!goog.isNull(this.textStrokeState_)) {
|
if (!goog.isNull(this.textStrokeState_)) {
|
||||||
this.setContextStrokeState_(this.textStrokeState_);
|
this.setContextStrokeState_(this.textStrokeState_);
|
||||||
}
|
}
|
||||||
|
this.setContextTextState_(this.textState_);
|
||||||
goog.asserts.assert(offset === 0);
|
goog.asserts.assert(offset === 0);
|
||||||
goog.asserts.assert(end == flatCoordinates.length);
|
goog.asserts.assert(end == flatCoordinates.length);
|
||||||
var pixelCoordinates = ol.geom.flat.transform2D(
|
var pixelCoordinates = ol.geom.flat.transform2D(
|
||||||
|
|||||||
Reference in New Issue
Block a user