Index: applications/editors/josm/plugins/MicrosoftStreetside/gradle.properties
===================================================================
--- applications/editors/josm/plugins/MicrosoftStreetside/gradle.properties	(revision 35955)
+++ applications/editors/josm/plugins/MicrosoftStreetside/gradle.properties	(revision 35978)
@@ -8,10 +8,10 @@
 # Minimum required JOSM version to run this plugin, choose the lowest version possible that is compatible.
 # You can check if the plugin compiles against this version by executing `./gradlew compileJava_minJosm`.
-plugin.main.version=18004
+plugin.main.version=18494
 #plugin.version=
 # Version of JOSM against which the plugin is compiled
 # Please check, if the specified version is available for download from https://josm.openstreetmap.de/download/ .
 # If not, choose the next higher number that is available, or the gradle build will break.
-plugin.compile.version=18004
+plugin.compile.version=18494
 plugin.requires=apache-commons;apache-http;utilsplugin2;javafx
 
Index: applications/editors/josm/plugins/MicrosoftStreetside/src/org/openstreetmap/josm/plugins/streetside/StreetsideLayer.java
===================================================================
--- applications/editors/josm/plugins/MicrosoftStreetside/src/org/openstreetmap/josm/plugins/streetside/StreetsideLayer.java	(revision 35955)
+++ applications/editors/josm/plugins/MicrosoftStreetside/src/org/openstreetmap/josm/plugins/streetside/StreetsideLayer.java	(revision 35978)
@@ -23,4 +23,5 @@
 import org.apache.log4j.Logger;
 import org.openstreetmap.josm.data.Bounds;
+import org.openstreetmap.josm.data.coor.ILatLon;
 import org.openstreetmap.josm.data.osm.DataSet;
 import org.openstreetmap.josm.data.osm.event.DataChangedEvent;
@@ -462,5 +463,5 @@
       .filter(img -> // Filters out images too far away from target
         img != null &&
-        img.getMovingLatLon().greatCircleDistance(target.getMovingLatLon())
+        img.getMovingLatLon().greatCircleDistance((ILatLon) target.getMovingLatLon())
           < StreetsideProperties.SEQUENCE_MAX_JUMP_DISTANCE.get()
        )
@@ -501,6 +502,6 @@
     public int compare(StreetsideAbstractImage img1, StreetsideAbstractImage img2) {
       return (int) Math.signum(
-        img1.getMovingLatLon().greatCircleDistance(target.getMovingLatLon()) -
-        img2.getMovingLatLon().greatCircleDistance(target.getMovingLatLon())
+        img1.getMovingLatLon().greatCircleDistance((ILatLon) target.getMovingLatLon()) -
+        img2.getMovingLatLon().greatCircleDistance((ILatLon) target.getMovingLatLon())
       );
     }
