Icon UpdateLocation Method

procedure UpdateLocation

Available In: Client Applications

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

If the location information is successfully obtained, the OnLocationUpdate event handler will be executed 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