Fix altitude correction
This commit is contained in:
parent
97f129be11
commit
e6bb14dba1
1 changed files with 1 additions and 1 deletions
|
@ -1148,7 +1148,7 @@ public class MapActivity extends AccessibleActivity implements IMapLocationListe
|
||||||
final GeoidAltitudeCorrection geo = app.getResourceManager().getGeoidAltitudeCorrection();
|
final GeoidAltitudeCorrection geo = app.getResourceManager().getGeoidAltitudeCorrection();
|
||||||
if (geo != null) {
|
if (geo != null) {
|
||||||
alt -= geo.getGeoidHeight(l.getLatitude(), l.getLongitude());
|
alt -= geo.getGeoidHeight(l.getLatitude(), l.getLongitude());
|
||||||
l.setAltitude(alt);
|
r.setAltitude(alt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return r;
|
return r;
|
||||||
|
|
Loading…
Reference in a new issue