tripkit-android / com.skedgo.tripkit.common.model / Location / getBearingTo

getBearingTo

open fun getBearingTo(other:Location!):Double

Parameters

other - Location!:

Return Double: The bearing from this location to another other

open fun getBearingTo(lat:Double, lon:Double):Double

Parameters

lat - Double:

lon - Double:

Return Double: The bearing from this location to another other Kudos: http://stackoverflow.com/a/9462757/755332