类 DirectionsTableApiRequest.Waypoint

java.lang.Object
ai.nextbillion.maps.DirectionsTableApiRequest.Waypoint
封闭类:
DirectionsTableApiRequest

public static class DirectionsTableApiRequest.Waypoint
extends java.lang.Object
  • 构造器概要

    构造器 
    构造器 说明
    Waypoint​(LatLng location)
    Constructs a stopover Waypoint using a Latlng location.
    Waypoint​(LatLng location, boolean isStopover)
    Constructs a Waypoint using a LatLng location.
    Waypoint​(java.lang.String location)
    Constructs a stopover Waypoint using a String address.
    Waypoint​(java.lang.String location, boolean isStopover)
    Constructs a Waypoint using a String address.
  • 方法概要

    修饰符和类型 方法 说明
    java.lang.String toString()
    Gets the String representation of this Waypoint, as an API request parameter fragment.

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 构造器详细资料

    • Waypoint

      public Waypoint​(java.lang.String location)
      Constructs a stopover Waypoint using a String address.
      参数:
      location - Any address or location recognized by the Google Maps API.
    • Waypoint

      public Waypoint​(java.lang.String location, boolean isStopover)
      Constructs a Waypoint using a String address.
      参数:
      location - Any address or location recognized by the Google Maps API.
      isStopover - Whether this waypoint is a stopover waypoint.
    • Waypoint

      public Waypoint​(LatLng location)
      Constructs a stopover Waypoint using a Latlng location.
      参数:
      location - The LatLng coordinates of this waypoint.
    • Waypoint

      public Waypoint​(LatLng location, boolean isStopover)
      Constructs a Waypoint using a LatLng location.
      参数:
      location - The LatLng coordinates of this waypoint.
      isStopover - Whether this waypoint is a stopover waypoint.
  • 方法详细资料

    • toString

      public java.lang.String toString()
      Gets the String representation of this Waypoint, as an API request parameter fragment.
      覆盖:
      toString 在类中 java.lang.Object
      返回:
      The HTTP parameter fragment representing this waypoint.