GeoLeaf Core API - v3.0.0
Preparing search index...
capabilities/geolocation/public-api
GeolocationStateSnapshot
Interface GeolocationStateSnapshot
Snapshot of the GPS state exposed via
GeoLeaf.Geolocation.getState()
.
interface
GeolocationStateSnapshot
{
active
:
boolean
;
watchId
:
number
|
null
;
userPosition
:
|
{
lat
:
number
;
lng
:
number
;
accuracy
?:
number
;
timestamp
?:
number
}
|
null
;
}
Index
Properties
active
watch
Id
user
Position
Properties
active
active
:
boolean
watch
Id
watchId
:
number
|
null
user
Position
userPosition
:
|
{
lat
:
number
;
lng
:
number
;
accuracy
?:
number
;
timestamp
?:
number
}
|
null
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
active
watch
Id
user
Position
GeoLeaf Core API - v3.0.0
Loading...
Snapshot of the GPS state exposed via
GeoLeaf.Geolocation.getState().