manhattanDistance method
- GpsCoordinates other
Implementation
double manhattanDistance(GpsCoordinates other) =>
(latitude - other.latitude).abs() * metersPerLatitude +
(longitude - other.longitude).abs() * metersPerLongitude;
double manhattanDistance(GpsCoordinates other) =>
(latitude - other.latitude).abs() * metersPerLatitude +
(longitude - other.longitude).abs() * metersPerLongitude;