Changeset 35975 in osm for applications/editors/josm/plugins/livegps
- Timestamp:
- 2022-06-13T19:51:10+02:00 (3 years ago)
- Location:
- applications/editors/josm/plugins/livegps
- Files:
-
- 2 edited
-
build.xml (modified) (1 diff)
-
src/livegps/LiveGpsLayer.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/livegps/build.xml
r35221 r35975 2 2 <project name="livegps" default="dist" basedir="."> 3 3 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 4 <property name="plugin.main.version" value="1 5502"/>4 <property name="plugin.main.version" value="18464"/> 5 5 6 6 <!-- Configure these properties (replace "..." accordingly). -
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.
