Update index.js

This commit is contained in:
JudeHu 2018-04-15 17:25:37 +08:00 committed by GitHub
parent 547c06b7b7
commit 16881e7880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,7 +298,7 @@ export class TextPath extends LineString {
}
const font = fontSize + " " + this.options["fontFamily"];
this._paintPolylineTextPath(ctx, points, this.options['text'], font,
this._paintPolylineTextPath(ctx, points, this.options['textName'], font,
this.options["symbol"]['lineColor'],
this.options["symbol"]['lineWidth'],
lineOpacity