CottageLabs / uniboard

UniBoard project
0 stars 0 forks source link

Display distance to book on search results #55

Closed richard-jones closed 10 years ago

richard-jones commented 10 years ago

We can calculate this in a number of ways, see:

http://www.movable-type.co.uk/scripts/latlong.html

Probably for the distances involved it will be sufficient to use pythagoras

richard-jones commented 10 years ago

Implemented using the following rules:

richard-jones commented 10 years ago

Make it deal with the case when the user's lat/lon is not recorded