[OpenLayers-Trac] Re: [OpenLayers] #3005: zoomBox never disappear
if mouse is released over the overviewMap
OpenLayers
trac-20090302 at openlayers.org
Thu Jan 6 13:06:18 EST 2011
#3005: zoomBox never disappear if mouse is released over the overviewMap
---------------------------------+------------------------------------------
Reporter: gael | Owner: tschaub
Type: bug | Status: new
Priority: minor | Milestone:
Component: Control.OverviewMap | Version: SVN
Keywords: | State:
---------------------------------+------------------------------------------
Comment(by gael):
Fortunately,I succeded in finding a solution for that problem, as it seams
to be working on my side.
The issues comes from a strange inversion of ''fallThrough'' parameters in
'''overviewMap.js''' file.
{{{
487 // create the overview map
488 var options = OpenLayers.Util.extend(
489 {controls: [], maxResolution: 'auto',
490 fallThrough: false}, this.mapOptions);
.
.
.
528 this.rectEvents = new OpenLayers.Events(this,
this.extentRectangle,
529 null, true);
}}}
became
{{{
487 // create the overview map
488 var options = OpenLayers.Util.extend(
489 {controls: [], maxResolution: 'auto',
490 fallThrough: true}, this.mapOptions);
.
.
.
528 this.rectEvents = new OpenLayers.Events(this,
this.extentRectangle,
529 null, false);
}}}
and the zoomBox control is back to a normal behaviour.
Ohh crap stupid thing ...
--
Ticket URL: <http://trac.openlayers.org/ticket/3005#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list