Changeset 35978 in osm for applications/editors/josm/plugins/geochat
- Timestamp:
- 2022-06-15T20:10:48+02:00 (3 years ago)
- Location:
- applications/editors/josm/plugins/geochat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/geochat/build.xml
r35162 r35978 5 5 <property name="commit.message" value="[josm_geochat] copypaste from keyboard, font size advanced parameters"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 5389"/>7 <property name="plugin.main.version" value="18494"/> 8 8 9 9 <property name="plugin.author" value="Ilya Zverev"/> -
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.