Changeset 27021 in osm for applications
- Timestamp:
- 2011-11-07T09:37:47+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/livegps/src/livegps/LiveGpsAcquirer.java
r26542 r27021 283 283 speed = (new Float(report.getDouble("speed"))).floatValue(); 284 284 course = (new Float(report.getDouble("track"))).floatValue(); 285 epx = (new Float(report.getDouble("epx"))).floatValue(); 286 epy = (new Float(report.getDouble("epy"))).floatValue(); 285 if (report.has("epx")) 286 epx = (new Float(report.getDouble("epx"))).floatValue(); 287 if (report.has("epy")) 288 epy = (new Float(report.getDouble("epy"))).floatValue(); 287 289 288 290 return new LiveGpsData(lat, lon, course, speed, epx, epy);
Note:
See TracChangeset
for help on using the changeset viewer.