mardi 27 septembre 2016

Trying to find an AS3 formula to convert decimal coordinates to minutes

I've got my AIR app that displays the current location of the user like :

lat : -22.14354 long : 166.4256

I'm looking for a formula that can convert these coordinates to Degrees Minutes Seconds (the result would be, for this example, : lat : -22° 8' 36.744" / long : 166° 25' 32.16")

Any idea where I could find this formula (in AS3) ?

Thx

Aucun commentaire:

Enregistrer un commentaire