TripLocation

data class TripLocation(val placeName: String? = null, val latitude: Double? = null, val longitude: Double? = null, val radiusMeters: Int? = null)

A place to bias discovery toward.

Either a human-readable locality, a coordinate pair, or both. A lone latitude or longitude cannot bias anything, so the pair is all-or-nothing.

Constructors

Link copied to clipboard
constructor(placeName: String? = null, latitude: Double? = null, longitude: Double? = null, radiusMeters: Int? = null)

Properties

Link copied to clipboard
val latitude: Double? = null

Latitude; must be paired with longitude.

Link copied to clipboard
val longitude: Double? = null

Longitude; must be paired with latitude.

Link copied to clipboard
val placeName: String? = null

Human-readable locality, e.g. "Austin, TX".

Link copied to clipboard
val radiusMeters: Int? = null

How far around the point to look, in metres.