Lat Long Position
Unmodifiable state version of LatLng, also implementing the GeoPosition interface.
Constructors
Types
Link copied to clipboard
enum DistanceFormula
Possible methods to compute the distance between two latitude-longitude points.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Distance between two points.
open fun distance(point1: LatLng, point2: LatLng, unit: LengthUnit, df: LatLongPosition.DistanceFormula): Double
Distance between two points with arbitrary LengthUnit.
Link copied to clipboard
open fun distanceInRadians(point1: LatLng, point2: LatLng, precision: LatLongPosition.DistanceFormula): Double
This "distance" function is mostly for internal use.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard