Icon StartTrackingLocation Method

procedure StartTrackingLocation

Available In: Client Applications

Use this method to start tracking the location information for the machine or device using the HighAccuracy, MaxAge, and Timeout properties to control how the location information is obtained.

After the tracking is started, the OnLocationUpdate event handler will be executed any time the location information changes and the Location property will contain the location information. If the location information cannot be obtained for any reason, then the OnLocationError event handler will be executed and the Error property will contain the error condition.
Image