Ignore:
Timestamp:
2009-11-02T21:12:54+01:00 (15 years ago)
Author:
jttt
Message:

Replace Dataset.nodes with getNodes(), etc

Location:
applications/editors/josm/plugins/surveyor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/surveyor/build.xml

    r17384 r18427  
    3737                <attribute name="Plugin-Description" value="Allow adding markers/nodes on current gps positions."/>
    3838                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Surveyor"/>
    39                 <attribute name="Plugin-Mainversion" value="2012"/>
     39                <attribute name="Plugin-Mainversion" value="2388"/>
    4040                <attribute name="Plugin-Requires" value="livegps"/>
    4141                <attribute name="Plugin-Stage" value="60"/>
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetNodeAction.java

    r16625 r18427  
    7070        node.put("created_by", "JOSM-surveyor-plugin");
    7171        synchronized(LiveGpsLock.class) {
    72             Main.map.mapView.getEditLayer().data.nodes.add(node);
     72            Main.map.mapView.getEditLayer().data.addPrimitive(node);
    7373            Main.main.getCurrentDataSet().setSelected(node);
    7474        }
Note: See TracChangeset for help on using the changeset viewer.