Location

@Serializable
data class Location(var latitude: Double, var longitude: Double)

Data class for location. Latitude and longitude are rounded to closest 500m to reduce cache size and api requests.

Parameters

latitude

Latitude of the location.

longitude

Longitude of the location.

Constructors

Link copied to clipboard
constructor(latitude: Double, longitude: Double)

Properties

Link copied to clipboard
Link copied to clipboard