Changeset 36120 in osm for applications/editors/josm/plugins/livegps/src/livegps/LiveGpsData.java
- Timestamp:
- 2023-08-15T18:00:16+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/livegps/src/livegps/LiveGpsData.java
r36117 r36120 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.Point;7 6 import java.text.DecimalFormat; 8 7 … … 14 13 import org.openstreetmap.josm.data.osm.IWay; 15 14 import org.openstreetmap.josm.data.osm.Node; 16 import org.openstreetmap.josm.data.osm.OsmPrimitive;17 15 import org.openstreetmap.josm.data.osm.Way; 18 16 import org.openstreetmap.josm.data.osm.WaySegment; 19 17 import org.openstreetmap.josm.gui.MainApplication; 20 import org.openstreetmap.josm.gui.MapFrame;21 18 import org.openstreetmap.josm.spi.preferences.Config; 22 19 import org.openstreetmap.josm.tools.Geometry; … … 33 30 private float epx, epy; 34 31 private String wayString; 35 private WayPoint w p;32 private WayPoint waypoint; 36 33 private static final DecimalFormat offsetFormat = new DecimalFormat("0.00"); 37 34 … … 57 54 */ 58 55 public WayPoint getWaypoint() { 59 return this.w p;56 return this.waypoint; 60 57 } 61 58 62 59 /** 63 60 * Set the waypoint to transfer additional data form NMEA input 64 * @param w pwaypoint to set65 */ 66 public void setWaypoint(WayPoint w p) {67 this.w p = wp;61 * @param waypoint waypoint to set 62 */ 63 public void setWaypoint(WayPoint waypoint) { 64 this.waypoint = waypoint; 68 65 } 69 66 … … 186 183 protected void decorateNameWithId(StringBuilder name, IPrimitive primitive) { 187 184 } 185 188 186 @Override 189 187 protected void decorateNameWithNodes(StringBuilder name, IWay way) {
Note:
See TracChangeset
for help on using the changeset viewer.
