- Timestamp:
- 2011-07-07T10:56:41+02:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java
r4207 r4208 409 409 boolean alternatedirection = Main.pref.getBoolean("draw.rawgps.alternatedirection"); 410 410 // don't draw arrows nearer to each other than this 411 int delta = Main.pref.getInteger("draw.rawgps.min-arrow-distance", 0);411 int delta = Main.pref.getInteger("draw.rawgps.min-arrow-distance", 40); 412 412 // allows to tweak line coloring for different speed levels. 413 413 int colorTracksTune = Main.pref.getInteger("draw.rawgps.colorTracksTune", 45); … … 467 467 468 468 case direction: 469 // unfortunately "heading" misses a cos-factor in the470 // longitudes to account for the convergence of meridians471 469 double dirColor = oldWp.getCoor().heading(trkPnt.getCoor()) / (2.0 * Math.PI) * 256; 472 470 // Bad case first -
trunk/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java
r4207 r4208 152 152 // drawGpsArrowsMinDist 153 153 drawGpsArrowsMinDist.setToolTipText(tr("Do not draw arrows if they are not at least this distance away from the last one.")); 154 drawGpsArrowsMinDist.setText(Integer.toString(Main.pref.getInteger("draw.rawgps.min-arrow-distance", 0)));154 drawGpsArrowsMinDist.setText(Integer.toString(Main.pref.getInteger("draw.rawgps.min-arrow-distance", 40))); 155 155 drawGpsArrowsMinDist.setEnabled(drawGpsArrows.isSelected() && drawGpsArrows.isEnabled()); 156 156 panel.add(new JLabel(tr("Minimum distance (pixels)")), GBC.std().insets(60,0,0,0));
Note:
See TracChangeset
for help on using the changeset viewer.