Skip to content
Snippets Groups Projects
Commit e8c17f28 authored by Mat Ellis's avatar Mat Ellis Committed by Alex Reisner
Browse files

Adds methods for calculating the bearing between two points and for converting...

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'])
parent d71d0eaf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment