forked from upstream-mirrors/OpenTracks
Cleanup: TrackPoint exposes Position.
This commit is contained in:
@@ -147,18 +147,6 @@ public class TrackPoint {
|
||||
return position.hasLocation();
|
||||
}
|
||||
|
||||
//TODO Should be double
|
||||
@Deprecated //Use getPosition()
|
||||
public Double getLatitude() {
|
||||
return position.latitude();
|
||||
}
|
||||
|
||||
//TODO Should be double
|
||||
@Deprecated //Use getPosition()
|
||||
public Double getLongitude() {
|
||||
return position.longitude();
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public Position getPosition() {
|
||||
return position;
|
||||
|
||||
Reference in New Issue
Block a user