Changeset 35978 in osm for applications/editors/josm/plugins/MicrosoftStreetside/src
- Timestamp:
- 2022-06-15T20:10:48+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/MicrosoftStreetside/src/org/openstreetmap/josm/plugins/streetside/StreetsideLayer.java
r35601 r35978 23 23 import org.apache.log4j.Logger; 24 24 import org.openstreetmap.josm.data.Bounds; 25 import org.openstreetmap.josm.data.coor.ILatLon; 25 26 import org.openstreetmap.josm.data.osm.DataSet; 26 27 import org.openstreetmap.josm.data.osm.event.DataChangedEvent; … … 462 463 .filter(img -> // Filters out images too far away from target 463 464 img != null && 464 img.getMovingLatLon().greatCircleDistance( target.getMovingLatLon())465 img.getMovingLatLon().greatCircleDistance((ILatLon) target.getMovingLatLon()) 465 466 < StreetsideProperties.SEQUENCE_MAX_JUMP_DISTANCE.get() 466 467 ) … … 501 502 public int compare(StreetsideAbstractImage img1, StreetsideAbstractImage img2) { 502 503 return (int) Math.signum( 503 img1.getMovingLatLon().greatCircleDistance( target.getMovingLatLon()) -504 img2.getMovingLatLon().greatCircleDistance( target.getMovingLatLon())504 img1.getMovingLatLon().greatCircleDistance((ILatLon) target.getMovingLatLon()) - 505 img2.getMovingLatLon().greatCircleDistance((ILatLon) target.getMovingLatLon()) 505 506 ); 506 507 }
Note:
See TracChangeset
for help on using the changeset viewer.