manhattanDistance method

double manhattanDistance(
  1. GpsCoordinates other
)

Implementation

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