/** * @param lon0 * @param lat0 * @param variation */ public void updateStationWithLocation(double lon0, double lat0, double variation) { Projection p = new Projection(lon, lat, lon0, lat0); station += "(" + Math.round(p.getDistance()) + Preferences.distanceConversionUnit + " " + p.getGeneralDirectionFrom(variation) + ")"; }
/** @return */ private String getPriorityMessage() { if (mPointProjection != null) { String priorityMessage = Helper.makeLine2( mPointProjection.getDistance(), Preferences.distanceConversionUnit, mPointProjection.getGeneralDirectionFrom(mGpsParams.getDeclinition()), mPointProjection.getBearing(), mGpsParams.getDeclinition()); return priorityMessage; } return null; }