Index: applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/ImportTest.java
===================================================================
--- applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/ImportTest.java	(revision 31989)
+++ applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/ImportTest.java	(revision 32033)
@@ -40,9 +40,9 @@
   @Test(expected = IIOException.class)
   public void testInvalidFiles() throws IOException {
-    MapillaryImportedImage img = new MapillaryImportedImage(0, 0, 0, null);
+    MapillaryImportedImage img = new MapillaryImportedImage(new LatLon(0, 0), 0, null);
     assertEquals(null, img.getImage());
     assertEquals(null, img.getFile());
 
-    img = new MapillaryImportedImage(0, 0, 0, new File(""));
+    img = new MapillaryImportedImage(new LatLon(0, 0), 0, new File(""));
     assertEquals(new File(""), img.getFile());
     img.getImage();
Index: applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/MapillaryAbstractImageTest.java
===================================================================
--- applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/MapillaryAbstractImageTest.java	(revision 31989)
+++ applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/MapillaryAbstractImageTest.java	(revision 32033)
@@ -10,4 +10,5 @@
 import org.junit.Test;
 import org.openstreetmap.josm.Main;
+import org.openstreetmap.josm.data.coor.LatLon;
 
 /**
@@ -23,5 +24,5 @@
     TimeZone.setDefault(TimeZone.getTimeZone("GMT+0745"));
 
-    MapillaryAbstractImage mai = new MapillaryImportedImage(0, 0, 0, null);
+    MapillaryAbstractImage mai = new MapillaryImportedImage(new LatLon(0, 0), 0, null);
     mai.setCapturedAt(1044087606000l); // in timezone GMT+0745 this is Saturday, February 1, 2003 16:05:06
 
Index: applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/MapillaryDataTest.java
===================================================================
--- applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/MapillaryDataTest.java	(revision 31989)
+++ applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/MapillaryDataTest.java	(revision 32033)
@@ -9,4 +9,5 @@
 import org.junit.Before;
 import org.junit.Test;
+import org.openstreetmap.josm.data.coor.LatLon;
 
 /**
@@ -31,8 +32,8 @@
   @Before
   public void setUp() {
-    this.img1 = new MapillaryImage("key1", 0.1, 0.1, 90);
-    this.img2 = new MapillaryImage("key2", 0.2, 0.2, 90);
-    this.img3 = new MapillaryImage("key3", 0.3, 0.3, 90);
-    this.img4 = new MapillaryImage("key4", 0.4, 0.4, 90);
+    this.img1 = new MapillaryImage("key1", new LatLon(0.1, 0.1), 90);
+    this.img2 = new MapillaryImage("key2", new LatLon(0.2, 0.2), 90);
+    this.img3 = new MapillaryImage("key3", new LatLon(0.3, 0.3), 90);
+    this.img4 = new MapillaryImage("key4", new LatLon(0.4, 0.4), 90);
     this.seq = new MapillarySequence();
 
@@ -74,5 +75,5 @@
   public void sizeTest() {
     assertEquals(4, this.data.size());
-    this.data.add(new MapillaryImage("key5", 0.1, 0.1, 90));
+    this.data.add(new MapillaryImage("key5", new LatLon(0.1, 0.1), 90));
     assertEquals(5, this.data.size());
   }
Index: applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/MapillarySequenceTest.java
===================================================================
--- applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/MapillarySequenceTest.java	(revision 31989)
+++ applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/MapillarySequenceTest.java	(revision 32033)
@@ -8,4 +8,5 @@
 import org.junit.Before;
 import org.junit.Test;
+import org.openstreetmap.josm.data.coor.LatLon;
 
 /**
@@ -29,8 +30,8 @@
   @Before
   public void setUp() {
-    this.img1 = new MapillaryImage("key1", 0.1, 0.1, 90);
-    this.img2 = new MapillaryImage("key2", 0.2, 0.2, 90);
-    this.img3 = new MapillaryImage("key3", 0.3, 0.3, 90);
-    this.img4 = new MapillaryImage("key4", 0.4, 0.4, 90);
+    this.img1 = new MapillaryImage("key1", new LatLon(0.1, 0.1), 90);
+    this.img2 = new MapillaryImage("key2", new LatLon(0.2, 0.2), 90);
+    this.img3 = new MapillaryImage("key3", new LatLon(0.3, 0.3), 90);
+    this.img4 = new MapillaryImage("key4", new LatLon(0.4, 0.4), 90);
     this.seq = new MapillarySequence();
 
@@ -63,5 +64,5 @@
     // that is not in the sequence.
     try {
-      this.seq.next(new MapillaryImage("key5", 0.5, 0.5, 90));
+      this.seq.next(new MapillaryImage("key5", new LatLon(0.5, 0.5), 90));
       fail();
     } catch (IllegalArgumentException e) {
@@ -72,5 +73,5 @@
     // image that is not in the sequence.
     try {
-      this.seq.previous(new MapillaryImage("key5", 0.5, 0.5, 90));
+      this.seq.previous(new MapillaryImage("key5", new LatLon(0.5, 0.5), 90));
       fail();
     } catch (IllegalArgumentException e) {
Index: applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/history/MapillaryRecordTest.java
===================================================================
--- applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/history/MapillaryRecordTest.java	(revision 31989)
+++ applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/history/MapillaryRecordTest.java	(revision 32033)
@@ -11,4 +11,5 @@
 import org.junit.Before;
 import org.junit.Test;
+import org.openstreetmap.josm.data.coor.LatLon;
 import org.openstreetmap.josm.plugins.mapillary.AbstractTest;
 import org.openstreetmap.josm.plugins.mapillary.MapillaryAbstractImage;
@@ -43,7 +44,7 @@
   public void setUp() {
     this.record = new MapillaryRecord();
-    this.img1 = new MapillaryImage("key1", 0.1, 0.1, 0.1);
-    this.img2 = new MapillaryImage("key2", 0.2, 0.2, 0.2);
-    this.img3 = new MapillaryImage("key3", 0.3, 0.3, 0.3);
+    this.img1 = new MapillaryImage("key1", new LatLon(0.1, 0.1), 0.1);
+    this.img2 = new MapillaryImage("key2", new LatLon(0.2, 0.2), 0.2);
+    this.img3 = new MapillaryImage("key3", new LatLon(0.3, 0.3), 0.3);
     MapillaryLayer.getInstance().getData().getImages().clear();
   }
