tripkit-android / com.skedgo.geocoding / LatLng

LatLng

open class LatLng

Constructors

Name Summary
<init> LatLng()
LatLng(_lat:Double, _lng:Double)
LatLng(other:LatLng!)

Properties

Name Summary
EarthRadius static val EarthRadius:Double
lat var lat:Double
lng var lng:Double
NO_NUM static val NO_NUM:Double
nullLatLong static var nullLatLong:LatLng
radians static val radians:Double

Functions

Name Summary
distanceInMetres This is the Equirectangular approximation. It's a little slower than the Region.distanceInMetres() formula.open fun distanceInMetres(other:LatLng!):Double