diff options
Diffstat (limited to 'src/cgeo/geocaching/cgeonavigate.java')
| -rw-r--r-- | src/cgeo/geocaching/cgeonavigate.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cgeo/geocaching/cgeonavigate.java b/src/cgeo/geocaching/cgeonavigate.java index 3cb1371..5a6dcee 100644 --- a/src/cgeo/geocaching/cgeonavigate.java +++ b/src/cgeo/geocaching/cgeonavigate.java @@ -309,7 +309,7 @@ public class cgeonavigate extends AbstractActivity { return; } - ((TextView) findViewById(R.id.destination)).setText(cgBase.formatCoordinate(dstLatitude, "lat", true) + " | " + cgBase.formatCoordinate(dstLongitude, "lon", true)); + ((TextView) findViewById(R.id.destination)).setText(cgBase.formatCoords(dstLatitude, dstLongitude, true)); } public void setDest(Double lat, Double lon) { @@ -404,9 +404,9 @@ public class cgeonavigate extends AbstractActivity { } else { humanAlt = String.format("%.0f", geo.altitudeNow) + " m"; } - navLocation.setText(cgBase.formatCoordinate(geo.latitudeNow, "lat", true) + " | " + cgBase.formatCoordinate(geo.longitudeNow, "lon", true) + " | " + humanAlt); + navLocation.setText(cgBase.formatCoords(geo.latitudeNow, geo.longitudeNow, true) + " | " + humanAlt); } else { - navLocation.setText(cgBase.formatCoordinate(geo.latitudeNow, "lat", true) + " | " + cgBase.formatCoordinate(geo.longitudeNow, "lon", true)); + navLocation.setText(cgBase.formatCoords(geo.latitudeNow, geo.longitudeNow, true)); } updateDistanceInfo(); @@ -466,4 +466,4 @@ public class cgeonavigate extends AbstractActivity { } } } -}
\ No newline at end of file +} |
