From 90155ad519102aa29419bc682514edf0d257d4ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Thu, 6 Feb 2014 15:07:08 +0100 Subject: [PATCH] Passing options to the select interaction is mandatory --- src/ol/interaction/selectinteraction.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ol/interaction/selectinteraction.js b/src/ol/interaction/selectinteraction.js index c281c72929..34b4930060 100644 --- a/src/ol/interaction/selectinteraction.js +++ b/src/ol/interaction/selectinteraction.js @@ -11,12 +11,10 @@ goog.require('ol.render.FeaturesOverlay'); /** * @constructor * @extends {ol.interaction.Interaction} - * @param {olx.interaction.SelectOptions=} opt_options Options. + * @param {olx.interaction.SelectOptions} options Options. * @todo stability experimental */ -ol.interaction.Select = function(opt_options) { - - var options = goog.isDef(opt_options) ? opt_options : {}; +ol.interaction.Select = function(options) { goog.base(this);