component1 |
Returns the LatLng.latitude of this LatLng. operator fun LatLng.component1(): Double |
component2 |
Returns the LatLng.longitude of this LatLng. operator fun LatLng.component2(): Double |
computeSphericalOffsetOrigin |
Attempts to compute the origin LatLng from this LatLng where distance meters have been traveled with heading value heading. fun LatLng.computeSphericalOffsetOrigin(distance: Double, heading: Double): LatLng? |
sphericalDistance |
Computes the spherical distance between this LatLng and to. fun LatLng.sphericalDistance(to: LatLng): Double |
sphericalHeading |
Computes the heading from this LatLng to toLatLng. fun LatLng.sphericalHeading(toLatLng: LatLng): Double |
withSphericalLinearInterpolation |
Returns an interpolated LatLng between this LatLng and to by the provided fractional value fraction. fun LatLng.withSphericalLinearInterpolation(to: LatLng, fraction: Double): LatLng |
withSphericalOffset |
Offsets this LatLng from the provided distance and heading and returns the result. fun LatLng.withSphericalOffset(distance: Double, heading: Double): LatLng |