From bade38ecc8210517ab716a141e55ea10c5894d5a Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 7 Dec 2018 09:17:34 +0100 Subject: [PATCH] Change onBoxEnd property in DragBox options to optional --- src/ol/interaction/DragBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/interaction/DragBox.js b/src/ol/interaction/DragBox.js index 0791493634..736cc55dda 100644 --- a/src/ol/interaction/DragBox.js +++ b/src/ol/interaction/DragBox.js @@ -28,7 +28,7 @@ import RenderBox from '../render/Box.js'; * @property {EndCondition} [boxEndCondition] A function that takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and two * {@link module:ol/pixel~Pixel}s to indicate whether a `boxend` event should be fired. * Default is `true` if the area of the box is bigger than the `minArea` option. - * @property {function(this:DragBox, import("../MapBrowserEvent.js").default)} onBoxEnd Code to execute just + * @property {function(this:DragBox, import("../MapBrowserEvent.js").default)} [onBoxEnd] Code to execute just * before `boxend` is fired. */