Event.HEADING UPDATE: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
'''Value:''' headingUpdate<br/> | '''Value:''' headingUpdate<br/> | ||
=== Description === | === Description === | ||
This event is dispatched on each user heading direction update | <translate>This event is dispatched on each user heading direction update</translate> | ||
=== Parameters === | === Parameters === | ||
'''magneticHeading''': (number) The value in this property represents the heading relative to the magnetic North Pole, which is different from the geographic North Pole. The value 0 means the device is pointed toward magnetic north, 90 means it is pointed east, 180 means it is pointed south, and so on.<br/> | '''magneticHeading''': (number) <translate>The value in this property represents the heading relative to the magnetic North Pole, which is different from the geographic North Pole. The value 0 means the device is pointed toward magnetic north, 90 means it is pointed east, 180 means it is pointed south, and so on.</translate><br/> | ||
'''trueHeading''': (number) The value in this property represents the heading relative to the geographic North Pole. The value 0 means the device is pointed toward true north, 90 means it is pointed due east, 180 means it is pointed due south, and so on. A negative value indicates that the heading could not be determined.<br/> | '''trueHeading''': (number) <translate>The value in this property represents the heading relative to the geographic North Pole. The value 0 means the device is pointed toward true north, 90 means it is pointed due east, 180 means it is pointed due south, and so on. A negative value indicates that the heading could not be determined.</translate><br/> | ||
Revision as of 12:34, 23 August 2018
Available since: Gideros 2011.6
Value: headingUpdate
Description
This event is dispatched on each user heading direction update
Parameters
magneticHeading: (number) The value in this property represents the heading relative to the magnetic North Pole, which is different from the geographic North Pole. The value 0 means the device is pointed toward magnetic north, 90 means it is pointed east, 180 means it is pointed south, and so on.
trueHeading: (number) The value in this property represents the heading relative to the geographic North Pole. The value 0 means the device is pointed toward true north, 90 means it is pointed due east, 180 means it is pointed due south, and so on. A negative value indicates that the heading could not be determined.