Changeset 35975 in osm for applications/editors/josm/plugins/livegps/src/livegps/LiveGpsLayer.java
- Timestamp:
- 2022-06-13T19:51:10+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/livegps/src/livegps/LiveGpsLayer.java
r35221 r35975 13 13 import java.util.Map; 14 14 15 import org.openstreetmap.josm.data.coor.ILatLon; 15 16 import org.openstreetmap.josm.data.coor.LatLon; 16 17 import org.openstreetmap.josm.data.gpx.GpxData; … … 64 65 void setCurrentPosition(double lat, double lon) { 65 66 LatLon thisPos = new LatLon(lat, lon); 66 if ( (lastPos != null) && (thisPos.equalsEpsilon(lastPos)))67 if (lastPos != null && thisPos.equalsEpsilon(lastPos, ILatLon.MAX_SERVER_PRECISION)) 67 68 // no change in position 68 69 // maybe show a "paused" cursor or some such
Note:
See TracChangeset
for help on using the changeset viewer.