inMeters property

({double lat, double long}) get inMeters

Converts GpsCoordinates into (lat, long) in meters.

Implementation

({double lat, double long}) get inMeters => (
  lat: latitude * metersPerLatitude,
  long: longitude * metersPerLongitude(latitude),
);