Skip to content
Snippets Groups Projects
  • Mat Ellis's avatar
    e8c17f28
    Adds methods for calculating the bearing between two points and for converting... · e8c17f28
    Mat Ellis authored
    Adds methods for calculating the bearing between two points and for converting that bearing into a compass point, e.g. North or South West. If you want fewer or additional compass points (e.g. South By South West, or just NESW) provide a second parameter containing your array of points, e.g. Geocoder::Calculations::compass_point(90,['north','east','south','west'])
    e8c17f28
    History
    Adds methods for calculating the bearing between two points and for converting...
    Mat Ellis authored
    Adds methods for calculating the bearing between two points and for converting that bearing into a compass point, e.g. North or South West. If you want fewer or additional compass points (e.g. South By South West, or just NESW) provide a second parameter containing your array of points, e.g. Geocoder::Calculations::compass_point(90,['north','east','south','west'])