Class GeoLocation


  • public final class GeoLocation
    extends Object
    Objet permettant de définir un emplacement par ses coordonnées.
    Author:
    spoitrenaud
    • Field Detail

    • Constructor Detail

      • GeoLocation

        public GeoLocation()
        Constructeur public Notamment utilisé pour la désérialisation.
      • GeoLocation

        public GeoLocation​(double latitude,
                           double longitude)
      • GeoLocation

        public GeoLocation​(double latitude,
                           double longitude,
                           String countryCode,
                           String level1,
                           String level2,
                           String locality)
    • Method Detail

      • getLatitude

        public double getLatitude()
        Returns:
        Latitude du résultat
      • getLongitude

        public double getLongitude()
        Returns:
        Longitude du résultat
      • isUndefined

        public boolean isUndefined()
      • getLocality

        public String getLocality()
      • getCountryCode

        public String getCountryCode()
      • getLevel1

        public String getLevel1()
      • getLevel2

        public String getLevel2()