Why Google Solutions Products Pricing Getting started Docs Suporte
Docs Suporte

@google-cloud/firestore 0.10.2 » Class: GeoPoint

Constructor

GeoPoint

new GeoPoint(latitude, longitude)

Creates a GeoPoint.

Parameter

latitude

number

The latitude as a number between -90 and 90.

longitude

number

The longitude as a number between -180 and 180.

Properties

latitude

read-only

number

The latitude as a number between -90 and 90.

longitude

read-only

number

The longitude as a number between -180 and 180.

Method

toString

toString() returns string

Returns a string representation for this GeoPoint.

Returns

string 

The string representation.