Changeset 11190 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-10-30T00:24:24+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r11148 r11190 1455 1455 1456 1456 MapViewPoint lastPoint = null; 1457 double wayLength = 0;1458 1457 Iterator<MapViewPoint> it = new OffsetIterator(wayNodes, offset); 1459 1458 boolean initialMoveToNeeded = true; … … 1475 1474 ArrowPaintHelper drawHelper = new ArrowPaintHelper(PHI, 10 + line.getLineWidth()); 1476 1475 drawHelper.paintArrowAt(orientationArrows, p2, p1); 1477 }1478 if (showOneway) {1479 final double segmentLength = p1.distanceToInView(p2);1480 if (segmentLength != 0) {1481 }1482 wayLength += segmentLength;1483 1476 } 1484 1477 }
Note:
See TracChangeset
for help on using the changeset viewer.