From e00e3a7b8ea111aecf5709900e9e62b52bf45b3d Mon Sep 17 00:00:00 2001 From: Denis <51781722+rycgar@users.noreply.github.com> Date: Tue, 12 Apr 2022 19:03:25 +0200 Subject: [PATCH] Improve jsDoc for style/Text justify --- src/ol/style/Text.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ol/style/Text.js b/src/ol/style/Text.js index 850eaa90f3..9acfd2a055 100644 --- a/src/ol/style/Text.js +++ b/src/ol/style/Text.js @@ -38,6 +38,7 @@ const DEFAULT_FILL_COLOR = '#333'; * @property {string} [justify] Text justification within the text box. * If not set, text is justified towards the `textAlign` anchor. * Otherwise, use options `'left'`, `'center'`, or `'right'` to justify the text within the text box. + * **Note:** `justify` is ignored for immediate rendering and also for `placement: 'line'`. * See: https://github.com/openlayers/openlayers/issues/13481 * @property {string} [textBaseline='middle'] Text base line. Possible values: 'bottom', 'top', 'middle', 'alphabetic', * 'hanging', 'ideographic'.