src/classes/Interval.js
// Extrat lat/lng and convert to meters:
Extrat lat/lng and convert to meters.
Extrat lat / lng and convert to meters .
static dLatLng(s0, s1) {
    if (!s0 || !s1) {
      return [0, 0];
    }
    return [
      (s1[0] - s0[0]) / METER_LAT_OFFSET, 
      (s1[1] - s0[1]) / METER_LNG_OFFSET
    ];
  }
static dLatLng ( s0 , s1 ) { if ( ! s0 || ! s1 ) { return [ 0 , 0 ] ; } return [ ( s1 [ 0 ] - s0 [ 0 ] ) / METER_LAT_OFFSET , ( s1 [ 1 ] - s0 [ 1 ] ) / METER_LNG_OFFSET ] ; }
Extrat lat/lng and convert to meters:
Extrat lat / lng and convert to meters :
// s0 and s1 are [lat, lng]