React Native Firebase
GitHub
npm
Preparing search index...
@react-native-firebase/firestore
modular
GeoPoint
Class GeoPoint
Index
Accessors
latitude
longitude
Constructors
constructor
Methods
_
compare
To
is
Equal
to
JSON
from
JSON
Properties
_
latitude
_
longitude
_
json
Schema
_
json
Schema
Version
Accessors
latitude
get
latitude
()
:
number
Returns
number
longitude
get
longitude
()
:
number
Returns
number
Constructors
constructor
new
GeoPoint
(
latitude
:
number
,
longitude
:
number
)
:
GeoPoint
Parameters
latitude
:
number
longitude
:
number
Returns
GeoPoint
Methods
_
compare
To
_compareTo
(
other
:
GeoPoint
)
:
number
Parameters
other
:
GeoPoint
Returns
number
is
Equal
isEqual
(
other
:
GeoPoint
)
:
boolean
Parameters
other
:
GeoPoint
Returns
boolean
to
JSON
toJSON
()
:
{
latitude
:
number
;
longitude
:
number
;
type
:
string
}
Returns
{
latitude
:
number
;
longitude
:
number
;
type
:
string
}
Static
from
JSON
fromJSON
(
json
:
object
)
:
GeoPoint
Parameters
json
:
object
Returns
GeoPoint
Properties
_
latitude
_latitude
:
number
_
longitude
_longitude
:
number
Static
_
json
Schema
_jsonSchema
:
{
latitude
:
string
;
longitude
:
string
;
type
:
string
}
= ...
Static
_
json
Schema
Version
_jsonSchemaVersion
:
string
= 'firestore/geoPoint/1.0'
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Accessors
latitude
longitude
Constructors
constructor
Methods
_
compare
To
is
Equal
to
JSON
from
JSON
Properties
_
latitude
_
longitude
_
json
Schema
_
json
Schema
Version
Documentation
GitHub
npm
React Native Firebase
Loading...