GeoUtils

object GeoUtils

Functions

Link copied to clipboard
fun computeOffset(from: Coords, distance: Distance, heading: Double): Coords

From https://github.com/googlemaps/android-maps-utils/blob/master/library/src/com/google/maps/android/SphericalUtil.java

Link copied to clipboard
fun flatEarthDistance(p1: Coords, p2: Coords): Distance
Link copied to clipboard
fun getBounds(center: Coords, radius: Distance): CoordsBounds
Link copied to clipboard
fun interpolateLinear(p1: Coords, p2: Coords, fraction: Double): Coords