Geolocation API replaces the standard W3C Geolocation API. Its methods and objects are identical to the standard API, however, it provides greater accuracy and responsivity. The API defines a high-level interface to location information delivered by the device, such as latitude and longitude. The API itself is independent of the underlying location information sources, such as GPS and location obtained based on IP address, MAC address, etc.
The Geolocation product module that holds the Geolocation API is included by default at
application building stage. Excluding it results in Pega Client for Windows using the
standard Geolocation API of the window.navigator
object.
If your application uses Iframes, remember to add
the top.*
element to any reference that you use to call the Pega Client for Windows's
Geolocation API. Otherwise you invoke the W3C standard-based Geolocation API, which may lead
to unexpected results.