Difference between revisions of "Event.LOCATION UPDATE"

From GiderosMobile
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Value:''' locationUpdate<br/>
 
'''Value:''' locationUpdate<br/>
 +
'''Defined by:''' [[Geolocation]]<br/>
 +
 
=== Description ===
 
=== Description ===
This event is dispatched on each user location update
+
This event is dispatched on each user location update.
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''latitude''': (number) The latitude of current user position<br/>
+
'''latitude''': (number) the latitude of current user position<br/>
'''longitude''': (number) The longitude of current user position<br/>
+
'''longitude''': (number) the longitude of current user position<br/>
'''altitude''': (number) The possible altitude of user<br/>
+
'''altitude''': (number) the possible altitude of user<br/>
'''speed''': (number) The possible speed of user in m/s<br/>
+
'''speed''': (number) the possible speed of user in m/s<br/>
'''course''': (number) The possible course of user in degrees<br/>
+
'''course''': (number) the possible course of user in degrees<br/>
 +
'''accuracy''': (number) the position accuracy, in meters, if available<br/>
 +
'''source''': (number) the source of the position, if available: P for GPS, N for Network, C for cellular, W for Wifi, F for fixed (simulator), O for obfuscated<br/>
 +
 
 +
{{Geolocation}}

Latest revision as of 06:44, 10 October 2023

Available since: Gideros 2011.6
Value: locationUpdate
Defined by: Geolocation

Description

This event is dispatched on each user location update.

Parameters

latitude: (number) the latitude of current user position
longitude: (number) the longitude of current user position
altitude: (number) the possible altitude of user
speed: (number) the possible speed of user in m/s
course: (number) the possible course of user in degrees
accuracy: (number) the position accuracy, in meters, if available
source: (number) the source of the position, if available: P for GPS, N for Network, C for cellular, W for Wifi, F for fixed (simulator), O for obfuscated