Class CarPoolWayPointDisplayOption

java.lang.Object
com.baidu.mapapi.synchronization.CarPoolWayPointDisplayOption
Direct Known Subclasses:
WayPointDisplayOption

public class CarPoolWayPointDisplayOption extends Object
途经点显示选项
  • Field Details

    • mShowWayPoint

      protected boolean mShowWayPoint
      是否显示途经点
    • mWayPointIcon

      protected BitmapDescriptor mWayPointIcon
      途经点图标
    • mWayPointsShowInSpan

      protected boolean mWayPointsShowInSpan
      途经点是否适配屏幕
    • mZIndex

      protected int mZIndex
      途经点压盖顺序
    • mOrderId

      protected String mOrderId
      订单ID 设置默认途经点属性时,不需要设置该属性
    • mUserId

      protected String mUserId
      厂商ID 设置默认途经点属性时,不需要设置该属性
    • mType

      protected WayPointType mType
      途经点类型 取值:START_TYPE表示起点,END_TYPE表示终点 设置默认途经点属性时,不需要设置该属性
  • Constructor Details

    • CarPoolWayPointDisplayOption

      public CarPoolWayPointDisplayOption()
  • Method Details

    • showWayPoint

      public CarPoolWayPointDisplayOption showWayPoint(boolean showWayPoint)
      设置是否显示途经点
    • isShowWayPoint

      public boolean isShowWayPoint()
      获取是否显示途经点
    • getWayPointIcon

      public BitmapDescriptor getWayPointIcon()
      获取途经点图标
    • setWayPointIcon

      public CarPoolWayPointDisplayOption setWayPointIcon(BitmapDescriptor wayPointIcon)
      设置途经点显示图标
      Parameters:
      wayPointIcon - 途经点图标
      Returns:
    • isWayPointInSpan

      public boolean isWayPointInSpan()
      获取途经点是否显示在地图可见区域
    • showWayPointInSpan

      public CarPoolWayPointDisplayOption showWayPointInSpan(boolean isWayPointsInSpan)
      设置途经点是否显示在地图可见区域
      Parameters:
      isWayPointsInSpan - 途经点是否显示在地图可见区域
      Returns:
    • getOrderId

      public String getOrderId()
      获取订单ID
    • setOrderId

      public CarPoolWayPointDisplayOption setOrderId(String orderId)
      设置订单ID 设置默认途经点属性时,不需要设置该属性
      Parameters:
      orderId - 订单Id
    • getUserId

      public String getUserId()
      获取厂商ID
    • setUserId

      public CarPoolWayPointDisplayOption setUserId(String userId)
      设置厂商ID 设置默认途经点属性时,不需要设置该属性
      Parameters:
      userId - 厂商Id
    • getType

      public WayPointType getType()
      获取waypoint显示信息类型
    • setType

      设置wayPoint显示信息类型 设置默认途经点属性时,不需要设置该属性
      Parameters:
      type - 取值:START_TYPE表示起点,END_TYPE表示终点
    • setWayPointZIndex

      public CarPoolWayPointDisplayOption setWayPointZIndex(int zIndex)
      设置途经点压盖顺序
      Parameters:
      zIndex - 途经点压盖顺序
      Returns:
    • getWayPointZIndex

      public int getWayPointZIndex()
      获取途经点压盖顺序
      Returns: