OnError - cWebGeoLocation
Event triggered when the browser gives back errors while querying the location
Type: Event
Parameters
| Parameter | Type | Description |
|---|---|---|
| iCode | Integer | Error number |
| sMessage | String | Error message |
Syntax
Procedure OnError Integer iCode String sMessage
Description
This event is triggered when the browser gives back errors while querying the location.
This happens for both QueryLocation and continuous tracking.
Standardized error codes are: 1 Permission denied, 2 Position unavailable, 3 timeouts.