Calculates the Great-Circle distance between two coordinates using the Haversine formula.
Accepts coordinate objects, [lat, lng] tuples, strings, or instances exposing .geo.
Parameters
from: any
Origin coordinate, object, tuple, or instance
to: any
Destination coordinate, object, tuple, or instance
Calculates the Great-Circle distance between two coordinates using the Haversine formula. Accepts coordinate objects, [lat, lng] tuples, strings, or instances exposing .geo.