From 3d50c0ec682f9b2a33a7ca8794ef63c3d6af37b1 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Fri, 20 Apr 2018 01:17:02 +0200 Subject: [PATCH] Fix rotation default --- src/ol/style/Text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/style/Text.js b/src/ol/style/Text.js index fee44d1c0b..ee90464972 100644 --- a/src/ol/style/Text.js +++ b/src/ol/style/Text.js @@ -27,7 +27,7 @@ const DEFAULT_FILL_COLOR = '#333'; * @property {module:ol/style/TextPlacement~TextPlacement|string} [placement] Text placement. * @property {number} [scale] Scale. * @property {boolean} [rotateWithView=false] Whether to rotate the text with the view. - * @property {number} rotation=0 Rotation in radians (positive rotation clockwise). + * @property {number} [rotation=0] Rotation in radians (positive rotation clockwise). * @property {string} [text] Text content. * @property {string} [textAlign] Text alignment. Possible values: 'left', 'right', 'center', 'end' or 'start'. * Default is 'center' for `placement: 'point'`. For `placement: 'line'`, the default is to let the renderer choose a