Set text style in ol.render.canvas.Immediate

This commit is contained in:
Tom Payne
2014-02-15 14:17:10 +01:00
parent a549df459b
commit a5fd5667b6

View File

@@ -255,6 +255,7 @@ ol.render.canvas.Immediate.prototype.drawText_ =
if (!goog.isNull(this.textStrokeState_)) {
this.setContextStrokeState_(this.textStrokeState_);
}
this.setContextTextState_(this.textState_);
goog.asserts.assert(offset === 0);
goog.asserts.assert(end == flatCoordinates.length);
var pixelCoordinates = ol.geom.flat.transform2D(