Class Geolocation

java.lang.Object
org.vaadin.firitin.geolocation.Geolocation

public class Geolocation extends Object
A helper class to detect the geographical position of the end users.

This class uses the Geolocation API in the browser to detect the position of the user. The API mimics the JS counterpart.

Note that the availability and quality of the position data can vary a lot. Users can decline the geolocation request in the browser altogether, but developers can also affect the settings using GeolocationOptions.

Author:
mstahv