Class NormalWayPointDisplayOption

java.lang.Object
com.baidu.mapapi.synchronization.NormalWayPointDisplayOption

public class NormalWayPointDisplayOption extends Object
普通途经点显示选项
  • Field Details

    • mShowWayPoint

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

      protected BitmapDescriptor mPassedWayPointIcon
      已经过途经点图标
    • mNoPassWayPointIcon

      protected BitmapDescriptor mNoPassWayPointIcon
      未经过途经点图标
    • mWayPointsShowInSpan

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

      protected int mZIndex
      途经点压盖顺序
  • Constructor Details

    • NormalWayPointDisplayOption

      public NormalWayPointDisplayOption()
  • Method Details

    • showWayPoint

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

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

      public BitmapDescriptor getNoPassWayPointIcon()
      获取未经过途经点图标
    • getPassedWayPointIcon

      public BitmapDescriptor getPassedWayPointIcon()
      获取已经过途经点图标
    • setNoPassWayPointIcon

      public NormalWayPointDisplayOption setNoPassWayPointIcon(BitmapDescriptor noPassWayPointIcon)
      设置未经过途经点显示图标
      Parameters:
      noPassWayPointIcon - 途经点图标
      Returns:
    • setPassedWayPointIcon

      public NormalWayPointDisplayOption setPassedWayPointIcon(BitmapDescriptor passedWayPointIcon)
      设置已经过途经点显示图标
      Parameters:
      passedWayPointIcon - 途经点图标
      Returns:
    • isWayPointInSpan

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

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

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

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

      public int getIndex()
      获取途径点标识
    • setIndex

      public void setIndex(int mIndex)
      设置途径点标识
    • setWayPointZIndex

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

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

      public NormalWayPointDisplayOption copy(NormalWayPointDisplayOption normalWayPointDisplayOption)