GeoLocationViewData

data class GeoLocationViewData(val latitude: Double = 0.0, val longitude: Double = 0.0)

The data necessary for displaying the GeoLocationViewData on the View.

Constructors

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

Properties

Link copied to clipboard
val latitude: Double = 0.0

the y-axis coordinate of the location in degrees, ranging from -90 (South Pole) to 90 (North Pole).

Link copied to clipboard
val longitude: Double = 0.0

the x-axis coordinate of the location in degrees, ranging from -180 (West) to 180 (East).

Functions

Link copied to clipboard

Converts the GeoLocationViewData into the Google Maps LatLng object.