Merge pull request #8096 from ahocevar/rotation-default

Fix rotation default
This commit is contained in:
Andreas Hocevar
2018-04-20 07:07:09 +02:00
committed by GitHub

View File

@@ -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