admin.firestore. GeoPoint
class static
Constructor
GeoPoint
new GeoPoint(latitude, longitude)
An immutable object representing a geo point in Cloud Firestore. The geo point is represented as latitude/longitude pair.
Parameter |
|
|---|---|
|
latitude |
number Latitude values are in the range of -90 to 90. |
|
longitude |
number Longitude values are in the range of -180 to 180. |
Properties
latitude
number
The latitude of this GeoPoint instance.
longitude
number
The longitude of this GeoPoint instance.


