diff --git a/lib/OpenLayers/Control/OverviewMap.js b/lib/OpenLayers/Control/OverviewMap.js index b3fb971c60..cc965d6c9f 100644 --- a/lib/OpenLayers/Control/OverviewMap.js +++ b/lib/OpenLayers/Control/OverviewMap.js @@ -180,7 +180,8 @@ OpenLayers.Control.OverviewMap.prototype = this.elementEvents.register('dblclick', this, function(e) { OpenLayers.Event.stop(e); }); - this.rectEvents = new OpenLayers.Events(this, this.extentRectangle); + this.rectEvents = new OpenLayers.Events(this, this.extentRectangle, + null, true); this.rectEvents.register('mouseout', this, this.rectMouseOut); this.rectEvents.register('mousedown', this, this.rectMouseDown); this.rectEvents.register('mousemove', this, this.rectMouseMove);