Class Waypoint

java.lang.Object
com.azure.maps.weather.models.Waypoint

public final class Waypoint extends Object
Waypoint class
  • Constructor Details

    • Waypoint

      public Waypoint()
      Waypoint Constructor
    • Waypoint

      public Waypoint(com.azure.core.models.GeoPosition position, Double estimatedTimeInMinutes)
      Waypoint constructor
      Parameters:
      position - GeoPosition position in longitude, latitude
      estimatedTimeInMinutes - estimated time in minutes
  • Method Details

    • getPosition

      public com.azure.core.models.GeoPosition getPosition()
      Get GeoPosition position in longitude, latitude
      Returns:
      GeoPosition
    • getEstimatedTimeInMinutes

      public Double getEstimatedTimeInMinutes()
      Get estimated time in minutes
      Returns:
      estimated time in minutes
    • getHeading

      public Double getHeading()
      Get heading
      Returns:
      heading
    • position

      public Waypoint position(com.azure.core.models.GeoPosition position)
      Waypoint's position
      Parameters:
      position - GeoPosition position
      Returns:
      Waypoint
    • estimatedTimeInMinutes

      public Waypoint estimatedTimeInMinutes(Double estimatedTimeInMinutes)
      Waypoint's estimated time in minutes
      Parameters:
      estimatedTimeInMinutes - estimated in time in minutes
      Returns:
      Waypoint
    • heading

      public Waypoint heading(Double heading)
      Waypoint's heading
      Parameters:
      heading - heading
      Returns:
      Waypoint
    • toString

      public String toString()
      To string
      Overrides:
      toString in class Object