#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)
Change History (6)
comment:1 by , 9 years ago
by , 9 years ago
comment:3 by , 9 years ago
Keywords: | zoom scale slider added |
---|---|
Milestone: | → 16.03 |
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.