BUI logoDWC logoBBjSysGui::getGeolocation

Description

In BBj 11.00 and higher, this method returns the BBjGeolocation object associated with this BBjSysGui.

Syntax

Return Value Method

BBjGeolocation

getGeolocation()

Parameters

None.

Return Value

The BBjGeolocation object associated with this BBjSysGui.

Remarks

Geolocation is only available in the BUI and DWC browser clients. Because of the sensitivity of location information, browsers only make it available in secure connections (HTTPS or localhost). Browsers explicitly request permission from the user to make location information available in the context of a specific web page. In clients other than BUI and DWC, this method throws an error.

Example

rem ' Get the BBjGeolocation object

sysgui! = bbjapi().openSysGui("X0")

geolocation! = sysgui!.getGeolocation())

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.