User Tools

Site Tools


built_in:locator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
built_in:locator [2014/12/18 19:52]
bcarroll created
built_in:locator [2014/12/18 19:55]
bcarroll
Line 1: Line 1:
-====== Location control ======+====== Locator control ======
 Use GPS and/or network to find location Use GPS and/or network to find location
  
Line 12: Line 12:
 ===== Methods ===== ===== Methods =====
 ^Method ^Description ^ ^Method ^Description ^
-|Locator.SetOnChange( callback ) | | +|Locator.SetOnChange(callback) | | 
-|Locator.SetRate( seconds ) |Set Locator update frequency in seconds |+|Locator.SetRate(seconds) |Set Locator update frequency in seconds |
 |Locator.Start() | | |Locator.Start() | |
 |Locator.GetDistanceTo() |Returns the approximate distance in meters between this location and the given location. | |Locator.GetDistanceTo() |Returns the approximate distance in meters between this location and the given location. |
 |Locator.GetBearingTo() |Returns the approximate initial bearing in degrees East of true North when traveling along the shortest path between this location and the given location. | |Locator.GetBearingTo() |Returns the approximate initial bearing in degrees East of true North when traveling along the shortest path between this location and the given location. |
built_in/locator.txt · Last modified: 2015/03/22 00:46 (external edit)