This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
built_in:locator [2014/12/18 19:53] bcarroll [Methods] |
built_in:locator [2014/12/18 20:04] bcarroll [Methods] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
Use GPS and/or network to find location | Use GPS and/or network to find location | ||
Line 15: | Line 15: | ||
|Locator.SetRate(seconds) |Set Locator update frequency in seconds | | |Locator.SetRate(seconds) |Set Locator update frequency in seconds | | ||
|Locator.Start() | | | |Locator.Start() | | | ||
+ | |Locator.Stop() | | | ||
|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. | |