Changeset 5270 in osm for applications/editors/josm/plugins/surveyor/src/at/dallermassl
- Timestamp:
- 2007-11-01T09:05:28+01:00 (17 years ago)
- Location:
- applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveGpsLayerTimerTask.java
r4522 r5270 110 110 */ 111 111 public XmlWriter.OsmWriterInterface getXmlWriter() { 112 return null; 113 114 /* 115 * FIXME! this disables auto-save. need to work with new GPX writing code in JOSM. 116 * 112 117 RawGpsLayer gpsLayer = findGpsLayer(gpsLayerName, RawGpsLayer.class); 113 118 if(gpsLayer == null) { … … 115 120 } 116 121 return new GpxWriter.Trk(gpsLayer.data); 122 */ 117 123 } 118 124 -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetWaypointAction.java
r4491 r5270 16 16 import org.openstreetmap.josm.Main; 17 17 import org.openstreetmap.josm.data.coor.LatLon; 18 import org.openstreetmap.josm.data.gpx.GpxData; 18 19 import org.openstreetmap.josm.gui.layer.Layer; 19 20 import org.openstreetmap.josm.gui.layer.markerlayer.Marker; … … 90 91 // not found: 91 92 if(markerLayer == null) { 92 markerLayer = new MarkerLayer(new ArrayList<Marker>(), MARKER_LAYER_NAME, null);93 markerLayer = new MarkerLayer(new GpxData(), MARKER_LAYER_NAME, null); 93 94 Main.main.addLayer(markerLayer); 94 95 }
Note:
See TracChangeset
for help on using the changeset viewer.