OpenLayers OpenLayers

Ticket #484 (closed feature: fixed)

Opened 3 years ago

Last modified 3 years ago

conflict between _addButton of MouseToolbar and PanZoom

Reported by: bartvde Assigned to: crschmidt
Priority: minor Milestone: 2.3 Release
Component: Control.PanZoom Version: 2.2 RC3
Keywords: Cc:
State:

Description

I have a MouseToolbar which has a zoom out button added. When I use the - button of the PanZoomBar, and I have the zoom out tool active in the mousetoolbar, the map zooms out twice. So the event does not seem to get stopped.

After some tracking down the cause of this is different events tied to the buttons. Basically the MouseUp should be used in PanZoom to stop the event instead of OnClick.

Will attach a patch later.

Attachments

PanZoom.patch (0.6 kB) - added by bartvde on 01/29/07 08:43:14.
patch for PanZoom.js fixing the problem

Change History

01/29/07 08:43:14 changed by bartvde

  • attachment PanZoom.patch added.

patch for PanZoom.js fixing the problem

02/07/07 02:55:36 changed by crschmidt

  • keywords set to review.

02/16/07 16:28:24 changed by sderle

  • keywords changed from review to pullup.

Applied as r2224. Thx, Bart!

02/16/07 19:29:07 changed by sderle

  • keywords deleted.
  • status changed from new to closed.
  • resolution set to fixed.