Class GeolocationCoordinates

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

@Deprecated(since="3.6", forRemoval=true) public class GeolocationCoordinates extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Part of the deprecated Geolocation helper. Use the native com.vaadin.flow.component.geolocation.GeolocationCoordinates record (record accessors like longitude() instead of getters).
The data coming from the browser on geolocation requests
Author:
mstahv
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    double
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    double
    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.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

      public Double 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

      public Double 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

      public Double 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

      public Double 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

      public Double 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

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object