Content:
- Properties
- Methods

The Locator component can be used to find your whereabouts on the planet using either your device's GPS or information from your network.

loc = app.CreateLocator( type, options? ) → app object: Locator

The provider specifies where the locator should retreive its information from . “Network” means get the location from the cell network and wifi, “GPS” tells the locator to use the device's GPS

To Start the locator use the Start method. You can also stop it with Stop.
To get regulat updates about your current positino use the SetOnChange function.

Example - Get Location Updates click to expand contents 

Properties

The following properties are available on the Locator object:

dataObject: { key, value }

Methods

The following methods are available on the Locator object:

GetType() → String: “Locator”
Start()
Stop()