Locations

Former Member
Former Member
A couple of questions regarding location:

What is the type of latitude and longitude elements in location.getRadians()?
info.currentLocation.toRadians()[0]
gets me an object. If I do .toDouble() I still get an object. With .toNumber() is lose all precision and .toString().toFloat() seems overkill.

What's best practice for calculating distances between 2 locations?
I'm using the Great Circle formula at the moment.
Will there be helper methods in ConnectIQ (like Location.distanceTo(other))?