Changeset 1297 in josm for trunk/src/org
- Timestamp:
- 2009-01-18T18:48:52+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java
r1296 r1297 686 686 687 687 if(pFrom.x >= pVia.x && pFrom.y >= pVia.y) { 688 if( leftHandTraffic) {688 if(!leftHandTraffic) { 689 689 vx2 = distanceFromWay * Math.cos(Math.toRadians(fromAngleDeg - 90)); 690 690 vy2 = distanceFromWay * Math.sin(Math.toRadians(fromAngleDeg - 90)); … … 696 696 } 697 697 if(pFrom.x < pVia.x && pFrom.y >= pVia.y) { 698 if( leftHandTraffic) {698 if(!leftHandTraffic) { 699 699 vx2 = distanceFromWay * Math.sin(Math.toRadians(fromAngleDeg)); 700 700 vy2 = distanceFromWay * Math.cos(Math.toRadians(fromAngleDeg)); … … 706 706 } 707 707 if(pFrom.x < pVia.x && pFrom.y < pVia.y) { 708 if( leftHandTraffic) {708 if(!leftHandTraffic) { 709 709 vx2 = distanceFromWay * Math.cos(Math.toRadians(fromAngleDeg + 90)); 710 710 vy2 = distanceFromWay * Math.sin(Math.toRadians(fromAngleDeg + 90)); … … 716 716 } 717 717 if(pFrom.x >= pVia.x && pFrom.y < pVia.y) { 718 if( leftHandTraffic) {718 if(!leftHandTraffic) { 719 719 vx2 = distanceFromWay * Math.sin(Math.toRadians(fromAngleDeg + 180)); 720 720 vy2 = distanceFromWay * Math.cos(Math.toRadians(fromAngleDeg + 180));
Note:
See TracChangeset
for help on using the changeset viewer.