Ticket #671: josm-directions.diff
| File josm-directions.diff, 917 bytes (added by , 18 years ago) |
|---|
-
home/dnaber/workspace/JOSM/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java
137 137 double circum = Main.map.mapView.getScale()*100*Main.proj.scaleFactor()*40041455; // circumference of the earth in meter 138 138 boolean showDirection = showDirectionArrow; 139 139 if (useRealWidth && showDirection && !w.selected) showDirection = false; 140 141 if (w.get("oneway") != null && !"false".equals(w.get("oneway")) && !"0".equals(w.get("oneway"))) { 142 showDirection = true; 143 } 144 140 145 Color colour = untaggedColor; 141 146 int width = 2; 142 147 int realWidth = 0; //the real width of the element in meters
