This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
built_in:locator [2014/12/18 20:04] bcarroll [Methods] |
built_in:locator [2015/03/08 10:51] octazid [Create] |
||
---|---|---|---|
Line 2: | Line 2: | ||
Use GPS and/or network to find location | Use GPS and/or network to find location | ||
- | ===== Create | + | ===== Description |
- | Create a Locator object using the CreateLocator function of the app object: | + | Create a Locator object using the **CreateLocator** function of the **[[built_in: |
< | < | ||
- | Location providers available are: " | + | Location providers available are: |
+ | * **" | ||
+ | * **" | ||
+ | * **" | ||
- | You can use the SetOnChange function of the Locator to set the name of a function you want to be called when a the changes occur. | + | You can use the **SetOnChange** function of the Locator to set the name of a function you want to be called when a the changes occur. |
- | Change the rate that a Locator checks for changes with the SetRate method. | + | Change the rate that a Locator checks for changes with the **SetRate** method. |
===== Methods ===== | ===== Methods ===== | ||
^Method ^Description ^ | ^Method ^Description ^ |