center property

RaliPosition get center

///////// ///////// Calculates the center point of the bounding box

Implementation

// IV.C - Getters
///////////////
/// Calculates the center point of the bounding box
RaliPosition get center => RaliPosition(
  (southwest.lng + northeast.lng) / 2,
  (southwest.lat + northeast.lat) / 2,
);