Changeset 35978 in osm for applications/editors/josm/plugins/geochat/src
- Timestamp:
- 2022-06-15T20:10:48+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/geochat/src/geochat/ChatServerConnection.java
r35162 r35978 19 19 import javax.json.JsonObject; 20 20 21 import org.openstreetmap.josm.data.coor.ILatLon; 21 22 import org.openstreetmap.josm.data.coor.LatLon; 22 23 import org.openstreetmap.josm.data.coor.conversion.DecimalDegreesCoordinateFormat; … … 349 350 final boolean needReset; 350 351 final boolean needFullReset = lastUserId != userId; 351 if (needFullReset || (lastPosition != null && pos.greatCircleDistance(lastPosition) > MAX_JUMP)) { 352 if (needFullReset || (lastPosition != null && pos.greatCircleDistance((ILatLon) lastPosition) > MAX_JUMP)) { 352 353 // reset messages 353 354 lastId = 0;
Note:
See TracChangeset
for help on using the changeset viewer.