From fa5cd1965765528bc25e8f563c22eda72341dd5c Mon Sep 17 00:00:00 2001 From: Matthias Kretschmar Date: Mon, 18 Sep 2017 09:39:52 +0200 Subject: [PATCH] added minArea to test --- types/openlayers/openlayers-tests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/openlayers/openlayers-tests.ts b/types/openlayers/openlayers-tests.ts index 78cd6fb556..3ebea5f095 100644 --- a/types/openlayers/openlayers-tests.ts +++ b/types/openlayers/openlayers-tests.ts @@ -695,6 +695,7 @@ draw = new ol.interaction.Draw({ let dragbox: ol.interaction.DragBox = new ol.interaction.DragBox({ className: stringValue, + minArea: 10, condition: ol.events.condition.always, boxEndCondition: function (mapBrowserEvent: ol.MapBrowserEvent, startPixel: ol.Pixel, endPixel: ol.Pixel) { let width: number = endPixel[0] - startPixel[0];