Changeset 3159 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2010-03-27T18:37:41+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r2932 r3159 196 196 // Do nothing for now, but in future replace CachedLatLon with simple doubles and update precalculated EastNorth value here 197 197 } 198 199 public boolean isJunctionNode() { 200 return (OsmPrimitive.getFilteredList(getReferrers(), Way.class)).size() > 1; 201 } 198 202 } -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPaintSettings.java
r3083 r3159 22 22 private int showIconsDistance; 23 23 private int selectedNodeSize; 24 private int taggedNodeSize;24 private int junctionNodeSize; 25 25 private int unselectedNodeSize; 26 26 private boolean fillSelectedNode; 27 27 private boolean fillUnselectedNode; 28 28 private boolean fillTaggedNode; 29 29 private Color selectedColor; 30 30 private Color highlightColor; … … 57 57 selectedNodeSize = Main.pref.getInteger("mappaint.node.selected-size", 5); 58 58 unselectedNodeSize = Main.pref.getInteger("mappaint.node.unselected-size", 3); 59 taggedNodeSize = Main.pref.getInteger("mappaint.node.tagged-size", 5);59 junctionNodeSize = Main.pref.getInteger("mappaint.node.junction-size", 5); 60 60 fillSelectedNode = Main.pref.getBoolean("mappaint.node.fill-selected", true); 61 61 fillUnselectedNode = Main.pref.getBoolean("mappaint.node.fill-unselected", false); 62 fillTaggedNode = Main.pref.getBoolean("mappaint.node.fill-tagged", true); 62 63 } 63 64 … … 126 127 } 127 128 128 public int get TaggedNodeSize() {129 return taggedNodeSize;129 public int getJunctionNodeSize() { 130 return junctionNodeSize; 130 131 } 131 132 … … 141 142 return fillUnselectedNode; 142 143 } 144 145 public boolean isFillTaggedNode() { 146 return fillTaggedNode; 147 } 143 148 }
Note:
See TracChangeset
for help on using the changeset viewer.