zaknelson / hike.io

An AngularJS / Sinatra app for finding beautiful hikes.
hike.io
MIT License
221 stars 30 forks source link

Allow user to change default units. #23

Closed zaknelson closed 10 years ago

zaknelson commented 10 years ago

Currently hike.io only supports imperial units. Allow user to change to the metric system. Should be easy with AngularJS's filters, the backend is already in metric.

zaknelson commented 10 years ago

Site detects user's location using google's ClientLocation API. If they are in the US then they are defaulted to imperial units, otherwise they are given kilometers. Default units can be changed by clicking on units.