Ticket #2416 (closed feature: fixed)

Opened 3 years ago

Last modified 3 years ago

allow user to enable or disable zoomBox in Navigation control

Reported by: pgiraud Owned by: pgiraud
Priority: minor Milestone: 2.9 Release
Component: Control.Navigation Version: 2.8
Keywords: Cc:
State: Complete

Description

In some cases, we want to use the navigation control but without the zoomBox.

In the same way it's done for the mouse wheel handler, I would propose to add a zoomBoxEnabled property and enable/disableZoomBox methods.

Please review attached patch.

Attachments

patch-2416-r9943.diff Download (2.5 KB) - added by pgiraud 3 years ago.

Change History

Changed 3 years ago by pgiraud

Changed 3 years ago by fredj

  • state set to Review

Changed 3 years ago by ahocevar

  • state changed from Review to Commit

Yes, this may be useful. Please commit.

Changed 3 years ago by tschaub

  • owner set to pgiraud

Changed 3 years ago by pgiraud

  • status changed from new to closed
  • state changed from Commit to Complete
  • resolution set to fixed

(In [10067]) adds a zoomBoxEnabled boolean option in Control.Navigation, r=ahocevar, (Closes #2416)

Note: See TracTickets for help on using tickets.