Changeset 12185 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-05-15T20:08:53+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r12154 r12185 1241 1241 if (drawArrowHelper != null) { 1242 1242 boolean drawArrow; 1243 if (showHeadArrowOnly) { 1244 // always draw last arrow - no matter how short the segment is 1245 drawArrow = !it.hasNext(); 1246 } else { 1243 // always draw last arrow - no matter how short the segment is 1244 drawArrow = !it.hasNext(); 1245 if (!showHeadArrowOnly) { 1247 1246 // draw arrows in between only if there is enough space 1248 drawArrow = p1.distanceToInView(p2) > drawArrowHelper.getOnLineLength() * 1.3;1247 drawArrow = drawArrow || p1.distanceToInView(p2) > drawArrowHelper.getOnLineLength() * 1.3; 1249 1248 } 1250 1249 if (drawArrow) {
Note:
See TracChangeset
for help on using the changeset viewer.