OnError - cWebGeoLocation

Event triggered when the browser gives back errors while querying the location

Type: Event

Parameters: Integer iCode String sMessage

ParameterDescription
iCodeError number
sMessageError 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.