From 2581252f8880dab2b25934e00f82baa121d07929 Mon Sep 17 00:00:00 2001 From: Jan Suleiman Date: Mon, 11 Nov 2019 11:39:26 +0100 Subject: [PATCH] Fix documentation of Stroke.lineDash default value Documentation states that default value of lineDash is `undefined`, but it is `null` actually. --- src/ol/style/Stroke.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/style/Stroke.js b/src/ol/style/Stroke.js index bee5ba1279..9afc75bfa0 100644 --- a/src/ol/style/Stroke.js +++ b/src/ol/style/Stroke.js @@ -10,7 +10,7 @@ * Default null; if null, the Canvas/renderer default black will be used. * @property {CanvasLineCap} [lineCap='round'] Line cap style: `butt`, `round`, or `square`. * @property {CanvasLineJoin} [lineJoin='round'] Line join style: `bevel`, `round`, or `miter`. - * @property {Array} [lineDash] Line dash pattern. Default is `undefined` (no dash). + * @property {Array} [lineDash] Line dash pattern. Default is `null` (no dash). * Please note that Internet Explorer 10 and lower do not support the `setLineDash` method on * the `CanvasRenderingContext2D` and therefore this option will have no visual effect in these browsers. * @property {number} [lineDashOffset=0] Line dash offset.