How to count degree of a city on a compass in Corona SDK

Hi everybody!

My question might be too complex, but I will appreciate any help.

Let’s imagine. I’m standing in New York with iPhone 3gs or higher, with in-built compass. I want to know what degree on a compass will be Los Angeles for example.

Any ideas how to code this in Corona SDK? [import]uid: 117007 topic_id: 20282 reply_id: 320282[/import]