Changeset 36251 in osm for applications/editors


Ignore:
Timestamp:
2024-04-18T11:10:48+02:00 (2 months ago)
Author:
stoecker
Message:

update

Location:
applications/editors/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsAcquirerNMEA.java

    r36250 r36251  
    166166                                    course = Float.valueOf(w.getString("course"));
    167167                                if (w.getString("speed") != null)
    168                                     speed = Float.valueOf(w.getString("speed"))/3.6;
     168                                    speed = Float.valueOf(w.getString("speed"))/3.6f;
    169169                                Logging.trace("New LiveGPS entry: " + w);
    170170                                LiveGpsData gpsData = new LiveGpsData(w.lat(), w.lon(), course, speed, 0.0f, 0.0f);
Note: See TracChangeset for help on using the changeset viewer.