Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2098 closed defect (fixed)

[PATCH] different zoom steps on zooming in or out

Reported by: anonymous Owned by: framm
Priority: minor Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

If you zoom in the zoom step is bigger than if you zoom out.

Doesn't matter if you use the scroll button or the keyboard.

Attachments (1)

zoom.patch (3.0 KB ) - added by jttt 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by xeen, 16 years ago

Do you mean that the zoom doesn't work in a linear way or do you mean that if you're at say 100 m, zoom one tick in and one tick out again and are at 93 m instead of 100 m like before?

comment:2 by anonymous, 16 years ago

I mean the second case.

comment:3 by Schusch, 16 years ago

as long as the scale can't be defined otherwise (see #2112) please leave the behaviour that way - there is no other way to change the scale just a bit than by repeating to zoom in and out for some times

comment:4 by jttt, 16 years ago

Summary: different zoom steps on zooming in or out[PATCH] different zoom steps on zooming in or out

Attached patch fix the bug and also two other cosmetic zooming issues:
1) MapScaler is not updated when MapView is created
2) When you zoom using mouse wheel without moving the mouse then map position sligtly change anyway

About Schusch comment, if there is need for more precice scalling then maybe JOSM should use smaller zooming steps if there is some modifier key (like Shift) pressed

by jttt, 16 years ago

Attachment: zoom.patch added

comment:5 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

In r1518.

comment:6 by Schusch, 16 years ago

In the patch from xeen for bugreport #2112 there is a solution for selecting a wanted scale with the utilsplugin - it works great. So there is no explicit need for small changes of the zoom level by zooming in and out ... one can define the wanted scale exactly now; thanks for you work!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.