Changeset 2949 in osm for applications/editors/josm
- Timestamp:
- 2007-05-19T23:51:19+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/AnnotationPresetAction.java
r2938 r2949 5 5 6 6 import java.util.List; 7 import java.util.Map.Entry;8 7 9 8 import javax.swing.Action; … … 40 39 System.out.println(getClass().getSimpleName() + " KOORD: " + coordinates.lat() + ", " 41 40 + coordinates.lon() + ", preset=" + presetName); 42 Node node = new Node(coordinates);43 node.put("created_by", "JOSM-surveyor-plugin");44 synchronized(LiveGpsLock.class) {45 Main.main.editLayer().data.nodes.add(node);46 Main.ds.setSelected(node);47 }48 Main.map.repaint();41 // Node node = new Node(coordinates); 42 // node.put("created_by", "JOSM-surveyor-plugin"); 43 // synchronized(LiveGpsLock.class) { 44 // Main.main.editLayer().data.nodes.add(node); 45 // Main.ds.setSelected(node); 46 // } 47 // Main.map.repaint(); 49 48 50 49 // call an annotationpreset to add additional properties...
Note:
See TracChangeset
for help on using the changeset viewer.