Parameter | Description |
---|---|
nLatitude | Number representing the position's latitude in decimal degrees. |
nLongitude | Number representing the position's longitude in decimal degrees. |
nAccuracy | Indicates the accuracy of the provided position in meters (0 if unknown). |
nSpeed | Indicates the velocity in meters per second (0 if unknown). |
nHeading | Number indicating the direction towards the device facing (0 if unknown). |
Procedure OnLocationChange Number nLatitude Number nLongitude Number nAccuracy Number nSpeed Number nHeading
The cWebGeoLocation class supports continuous tracking of the location, which means that the browser is asked to provide updates when the location changes.
Continuous tracking can be turned on and off by using the pbTracking, pbAutoStart, pbAutoStop properties or the Start & Stop procedures. The piMinTimeout and piMaxTimeout properties limit the interval with which this event is triggered.