Location

data class Location(val longitude: Double, val latitude: Double)

Represents a geographic location in the Discovery API.

Holds longitude and latitude coordinates for a location.

Constructors

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

Properties

Link copied to clipboard

The latitude coordinate of the location.

Link copied to clipboard

The longitude coordinate of the location.