GeoPoint

class GeoPoint : Comparable


Immutable class representing a GeoPoint in Cloud Firestore

Summary

Public constructors

GeoPoint(latitude: Double, longitude: Double)

Construct a new GeoPoint using the provided latitude and longitude values.

Public functions

Int
Boolean
equals(o: Any?)
Int
String

Public properties

Double
Double

Public constructors

GeoPoint

GeoPoint(latitude: Double, longitude: Double)

Construct a new GeoPoint using the provided latitude and longitude values.

Parameters
latitude: Double

The latitude of this GeoPoint in the range [-90, 90].

longitude: Double

The longitude of this GeoPoint in the range [-180, 180].

Public functions

compareTo

fun compareTo(other: GeoPoint): Int

equals

fun equals(o: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String

Public properties

latitude

val latitudeDouble

longitude

val longitudeDouble