From 3978dd87be8c562b1a295fd5df7e9e8fbc439d73 Mon Sep 17 00:00:00 2001 From: ekargee Date: Tue, 22 Sep 2015 18:57:49 +0800 Subject: [PATCH] Updated documentation for ol.style.Text - font and text --- externs/olx.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 65fd15c5fe..fffdf4143f 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -6150,7 +6150,9 @@ olx.style.TextOptions; /** - * Font family. + * Font style as CSS 'font' value, see: + * {@link https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font}. + * Default is '10px sans-serif' * @type {string|undefined} * @api */ @@ -6192,8 +6194,7 @@ olx.style.TextOptions.prototype.rotation; /** - * Text. Possible values: 'normal', 'hide', 'shorten', 'wrap'. - * Default is 'normal'. Multiline labels are not currently supported. + * Text content. * @type {string|undefined} * @api */