Revert "#1990 Ignores GPS positions with 0/0 latitude and longitude values."

This reverts commit 55b20c75c0.
This commit is contained in:
sheirerd
2024-09-22 09:50:53 -04:00
parent 55b20c75c0
commit 8070ae3c4b
3 changed files with 38 additions and 54 deletions

View File

@@ -62,16 +62,6 @@ public class PlottableDecodeEvent extends DecodeEvent
return mGeoPosition;
}
/**
* Indicates if the location is non-null and either latitude or longitude is not at the zero axis. If the location
* coordinates are zero or both are very small values close to zero, then the location is flagged as invalid.
*/
public boolean isValidLocation()
{
return mGeoPosition != null &&
((Math.abs(mGeoPosition.getLatitude()) > 0.01) || (Math.abs(mGeoPosition.getLongitude()) > 0.01));
}
/**
* Sets the heading for the mobile plottable event
* @param heading