diff --git a/src/Latitude.java b/src/Latitude.java index d9f9f3b..2150d23 100644 --- a/src/Latitude.java +++ b/src/Latitude.java @@ -9,8 +9,8 @@ public double getValue() { return this.value; } - public void updateGPS(double lat2, double long2) { - this.value = lat2; + public void updateGPS(double cur_lat, double cur_long) { + this.value = cur_lat; this.mapLatitude.updateLatitude(this.value); } } \ No newline at end of file