gvSIG CE and SEXTANTE GIS Bug Tracker on MantisBT
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000939gvSIG Community EditionGraphical User Interface (GUI)public2016-10-24 15:342016-10-24 21:02
Reporterbenducke 
Assigned Tobenducke 
PrioritynormalSeveritytweakReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product VersiongvSIG CE (trunk) 
Target VersiongvSIG CE 1.0.0Fixed in Version 
Summary0000939: Improve behaviour of mouse wheel zoom
DescriptionCurrently, this tool first centers the point under the cursor in the view, then zooms in/out on the center as long as the cursor is not moved (a pixel and time tolerance are applied).

This behaviour is implemented here:

com.iver.cit.gvsig.fmap.MapControl.MapToolListener.mouseWheelMoved(MouseWheelEvent)

A better behaviour would be to:
*NOT center the View first.
*Zoom in around the View center.
*Shift the View towards the mouse cursor by the differences in X and Y dimensions (between previous and current zoom), respectively.

This should have the effect that the user will perceive the area immediately around the cursor to be the focus of the zoom in operation.

(No modification is needed for zoom out.)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000826)
benducke (developer)
2016-10-24 21:02

https://sourceforge.net/p/gvsigce/code/2139/ [^]

- Issue History
Date Modified Username Field Change
2016-10-24 15:34 benducke New Issue
2016-10-24 15:34 benducke Status new => assigned
2016-10-24 15:34 benducke Assigned To => benducke
2016-10-24 21:02 benducke Note Added: 0000826
2016-10-24 21:02 benducke Status assigned => resolved
2016-10-24 21:02 benducke Resolution open => fixed


Copyright © 2000 - 2011 MantisBT Group
Hosted by Sourceforge.netPowered by Mantis Bugtracker