Merge pull request #6683 from fredj/this_defaultBoxEndCondition
Add this jsdoc tag to ol.interaction.DragBox.defaultBoxEndCondition
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user