Package org.vaadin.firitin.geolocation
Class GeolocationCoordinates
java.lang.Object
org.vaadin.firitin.geolocation.GeolocationCoordinates
Deprecated, for removal: This API element is subject to removal in a future version.
The data coming from the browser on geolocation requests
- Author:
- mstahv
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.doubleDeprecated, for removal: This API element is subject to removal in a future version.doubleDeprecated, for removal: This API element is subject to removal in a future version.getSpeed()Deprecated, for removal: This API element is subject to removal in a future version.toString()Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
GeolocationCoordinates
public GeolocationCoordinates()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getLatitude
public double getLatitude()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- latitude specified in decimal degrees
-
getLongitude
public double getLongitude()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- longitude specified in decimal degrees
-
getAccuracy
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the accuracy level of the latitude and longitude coordinates in meters (e.g., 65 meters).
-
getAltitude
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the height of the position, specified in meters above the WGS84 ellipsoid.
-
getAltitudeAccuracy
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the altitude accuracy in meters (e.g., 10 meters).
-
getHeading
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- denotes the direction of travel of the hosting device and is specified in degrees, where 0° ≤ heading < 360°, counting clockwise relative to the true north.
-
getSpeed
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the magnitude of the horizontal component of the hosting device's current velocity in meters per second.
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-
Geolocationhelper. Use the nativecom.vaadin.flow.component.geolocation.GeolocationCoordinatesrecord (record accessors likelongitude()instead of getters).