fromGeospatial static method

double fromGeospatial(
  1. _Geospatial a,
  2. _Geospatial b
)

Implementation

static double fromGeospatial(_Geospatial a, _Geospatial b) {
  return fromList([a.geoLocation.latitude, a.geoLocation.longitude],
      [b.geoLocation.latitude, b.geoLocation.longitude]);
}