Modify

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#12594 closed enhancement (fixed)

Change of maximum zoom

Reported by: Adrian Owned by: team
Priority: normal Milestone: 16.04
Component: Core Version: tested
Keywords: template_report zoom scale slider Cc:

Description

With stable releases until r9329, the maximum zoom of the zoom slider depended on the height of the JOSM window. With the height of window I have, the maximum scale was 2.43m, with Mercator projection (EPSG:3857) and at a latitude of 43.3°.

With the latest stable release, r9900, the maximum scale does not depend on the height of the window, and the maximum scale has changed to 7.04m. Please change it to 2.43m, or add an expert preference for adjusting the maximum scale. The expert preference would be a floating-point number with a default value of 1. You would set it to 0.345 to get a maximum scale of 2.43m (7.04 × 0.345 = 2.43).

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-02-28 14:07:49 +0100 (Sun, 28 Feb 2016)
Build-Date:2016-02-28 22:44:23
Revision:9900
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9900 en) Mac OS X 10.9.5
Memory Usage: 1490 MB / 3641 MB (265 MB allocated, but free)
Java version: 1.8.0_74-b02, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Dataset consistency test: No problems found

Plugins:
- ImportImagePlugin (31772)
- InfoMode (31772)
- PicLayer (31895)
- apache-commons (31895)
- cadastre-fr (32060)
- download_along (31772)
- editgpx (31772)
- ejml (31895)
- geotools (31895)
- imagery_offset_db (32046)
- jts (31772)
- log4j (31895)
- measurement (31895)
- opendata (32071)
- poly (31772)
- reverter (32005)
- turnrestrictions (31895)
- undelete (31895)
- utilsplugin2 (32018)
- waydownloader (31772)

Attachments (1)

diff2.txt (169 bytes ) - added by Adrian 9 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Adrian, 9 years ago

I have come up with an ugly kludge for this, see the attached diff. The diff is to be applied to file src/org/openstreetmap/josm/gui/NavigatableComponent.java (Note the unusual format of the diff.) The preference is called adjust.max.zoom. JOSM needs to be restarted for any change to take effect.

by Adrian, 9 years ago

Attachment: diff2.txt added

comment:2 by wiktorn, 9 years ago

Resolution: fixed
Status: newclosed

In 9947/josm:

Provide additional zoom levels from zoom slider.

Move maximum zoom to bigger scale (closer to the ground).
Closes: #12594

comment:3 by Don-vip, 9 years ago

Keywords: zoom scale slider added
Milestone: 16.03

comment:4 by Adrian, 9 years ago

Thank you. (I tried it with Jenkins build of r9949.)

comment:5 by Don-vip, 8 years ago

Milestone: 16.0316.04

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.