[OpenLayers-Trac] [OpenLayers] #3005: zoomBox never disappear if mouse is released over the overviewMap

OpenLayers trac-20090302 at openlayers.org
Wed Jan 5 13:42:35 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:         
---------------------------------+------------------------------------------
 Hi,

 I'm using a map with both overviewMap control and zoomBox Control to
 navigate on the map.

 When using the zoomBox control, if you release the mouse on the
 overviewMap, the zoom is not made and you are still drawing a box.
 It appears that the Box "endBox" callback is never called and the drag
 Handler controlling the box never stopped.

 Finally, if you click somewhere else on the map, your box remains and the
 zoom behaves as you just double-clicked on that point.

 Could someone help me find a workaround ?
 Thanks.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3005>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list