From 5e84d806d7b10453c7f61784b3d28b064c8e0a80 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 10 Apr 2017 09:08:09 +0200 Subject: [PATCH] Add this jsdoc tag to ol.interaction.DragBox.defaultBoxEndCondition --- src/ol/interaction/dragbox.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ol/interaction/dragbox.js b/src/ol/interaction/dragbox.js index 6883dfa73f..d8764faee9 100644 --- a/src/ol/interaction/dragbox.js +++ b/src/ol/interaction/dragbox.js @@ -78,6 +78,7 @@ ol.inherits(ol.interaction.DragBox, ol.interaction.Pointer); * @param {ol.Pixel} startPixel The starting pixel of the box. * @param {ol.Pixel} endPixel The end pixel of the box. * @return {boolean} Whether or not the boxend condition should be fired. + * @this {ol.interaction.DragBox} */ ol.interaction.DragBox.defaultBoxEndCondition = function(mapBrowserEvent, startPixel, endPixel) { var width = endPixel[0] - startPixel[0];