Icon TLocationError

Unit: WebComps

TLocationError = (leNone,lePermissionDenied,leUnavailable,
      leTimeout)

Available In: Client and Server Applications

The TLocationError enumerated type is used with the TLocationServices OnLocationError event to determine the reason why the current location cannot be obtained from the machine or device using the host web browser.

ElementDescription
leNoneThe location information hasn't been obtained yet, or was obtained without issue.
lePermissionDeniedThe location information could not be obtained because the user did not grant permission for the current application to access the location information for the machine or device.
leTimeoutThe location information could not be obtained for the machine or device within the number of milliseconds specified in the TLocationServices Timeout property.
leUnavailableThe location information could not be obtained because location services are not available for the machine or device.

Information This error condition can occur when the current application was loaded in a non-secure context (http), while the host web browser only allows location services to be accessed from a secure context (https).
Image