Package-level declarations

Contains geometry related classes

Types

Link copied to clipboard
data class LatLng(@FloatRange(from = -90.0, to = 90.0) val latitude: Double, @FloatRange(from = -1.7976931348623157E308, to = 1.7976931348623157E308) val longitude: Double) : Parcelable

An object describing a specific location with Latitude and Longitude in decimal degrees.

Link copied to clipboard
data class LatLngBounds(val northEast: LatLng, val southWest: LatLng) : Parcelable

A rectangle in geographical coordinates from points at the southwest and northeast corners.

Functions

Link copied to clipboard

Extension method to convert a list of LatLng to LineString Geometry.

Link copied to clipboard

Extension method to convert a LatLng into a Point Geometry.

Link copied to clipboard

Extension method to convert a LatLngBounds to a Polygon Geometry.

Link copied to clipboard

Extension method to convert a list of LatLng to string usable for the REST API.