Changeset 9400 in osm for applications/editors/josm
- Timestamp:
- 2008-07-31T10:09:53+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetWaypointAction.java
r6164 r9400 86 86 waypoint.attr.put("sym", iconName); 87 87 synchronized(LiveGpsLock.class) { 88 layer.data.add(new Marker(event.getCoordinates(), markerText, iconName)); 88 //layer.data.add(new Marker(event.getCoordinates(), markerText, iconName)); 89 layer.data.add(new Marker(event.getCoordinates(), markerText, iconName, null, -1.0, 0.0)); 89 90 if(gpsLayer != null) { 90 91 gpsLayer.data.waypoints.add(waypoint); … … 105 106 if(markerLayer == null) { 106 107 // not found, add a new one 107 markerLayer = new MarkerLayer(new GpxData(), MARKER_LAYER_NAME, null); 108 //markerLayer = new MarkerLayer(new GpxData(), MARKER_LAYER_NAME, null); 109 markerLayer = new MarkerLayer(new GpxData(), MARKER_LAYER_NAME, null, null); 108 110 Main.main.addLayer(markerLayer); 109 111 }
Note:
See TracChangeset
for help on using the changeset viewer.