- Timestamp:
- 2016-10-25T10:36:45+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r11098 r11161 102 102 103 103 private static final String[] OBSOLETE_PREF_KEYS = { 104 "hdop.factor" /* remove entry after April 2017 */ 104 105 }; 105 106 -
trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelper.java
r10824 r11161 62 62 private double minTrackDurationForTimeColoring; 63 63 64 private int hdopfactor; 64 /** maximum value of displayed HDOP, minimum is 0 */ 65 private int hdoprange; 65 66 66 67 private static final double PHI = Math.toRadians(15); … … 214 215 colorTracksTune = Main.pref.getInteger("draw.rawgps.colorTracksTune", spec, 45); 215 216 colorModeDynamic = Main.pref.getBoolean("draw.rawgps.colors.dynamic", spec, false); 216 hdopfactor = Main.pref.getInteger("hdop.factor", 25); 217 /* good HDOP's are between 1 and 3, very bad HDOP's go into 3 digit values */ 218 hdoprange = Main.pref.getInteger("hdop.range", 7); 217 219 minTrackDurationForTimeColoring = Main.pref.getInteger("draw.rawgps.date-coloring-min-dt", 60); 218 220 largePointAlpha = Main.pref.getInteger("draw.rawgps.large.alpha", -1) & 0xFF; … … 311 313 } else { // color mode not dynamic 312 314 velocityScale.setRange(0, colorTracksTune); 313 hdopScale.setRange(0, 1.0/hdopfactor);315 hdopScale.setRange(0, hdoprange); 314 316 } 315 317 double now = System.currentTimeMillis()/1000.0;
Note:
See TracChangeset
for help on using the changeset viewer.