Package com.baidu.mapapi.synchronization
Class DisplayOptions
java.lang.Object
com.baidu.mapapi.synchronization.DisplayOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid清空指定拼单途经点显示设置信息void清空指定普通订单途经点显示设置信息void清空指定途经点显示设置信息boolean是否使用3D形式绘制小车车标获取3D车标图片列表根据导航类型获取3D车标图片列表获取小车(司机位置)Marker ICONandroid.view.View获取小车InfoWindow的View控件int获取小车InfoWindow坐标的Y偏移量获取拼单默认终点途经点显示选项获取拼单默认起点途经点显示选项获取指定拼单订单途经点显示信息int获取车标位置InfoWindow绘制压盖顺序int获取车标位置Marker绘制压盖顺序获取默认终点途经点显示选项获取默认起点途经点显示选项获取终点位置Marker ICONandroid.view.View获取订单终点InfoWindow的View控件int获取终点InfoWindow坐标的Y偏移量int获取终点位置InfoWindow绘制压盖顺序int获取终点位置Marker绘制压盖顺序获取小车(司机位置)Marker ICON获取普通订单默认未经过途经点显示选项获取普通订单默认已经过途经点显示选项获取指定普通订单途经点显示信息int获取地图上View距离地图View的下边距int获取地图上View距离地图View的左边距int获取地图上View距离地图View的右边距int获取地图上View距离地图View的上边距获取乘客Marker Iconint获取乘客位置Marker绘制压盖顺序int获取路线宽度int获取路线绘制压盖顺序获取起点位置Marker ICONandroid.view.View获取订单起点InfoWindow的View控件int获取起点InfoWindow坐标的Y偏移量int获取起点位置InfoWindow绘制压盖顺序int获取起点位置Marker绘制压盖顺序获取路况填充纹理列表 路况类型:0:未知 1:畅通 2:缓行 3:拥堵 4:非常拥堵获取指定订单途经点显示信息获取普通拼单途经点显示类型boolean是否显示小车InfoWindowboolean是否在地图上显示小车Markerboolean是否在地图可见范围显示小车Markerboolean是否显示订单终点InfoWindowboolean是否在地图上显示订单终点Markerboolean是否在地图可视范围显示订单终点Markerboolean是否在地图上显示乘客Markerboolean是否在地图可视范围显示乘客Markerboolean是否在地图上显示路线boolean是否在地图可视范围显示路线boolean是否显示订单起点InfoWindowboolean是否在地图上显示订单起点Markerboolean是否在地图可视范围显示订单起点Markerboolean获取途经点图标是否显示boolean获取途经点显示选项是否修改了set3DCarMarkerEnable(boolean is3DMarkerEnable) 设置是否使用3D形式绘制小车车标,默认不使用 如果打开了该开关,需要传入3D的marker图片,参见set3DCarMarkerIconList(List)方法set3DCarMarkerIconList(List<BitmapDescriptor> carMarkerIconList) 设置3D车标图片列表 3D Marker的Icon列表,需要开发者按照逆时针顺序(Maker的角度是逆时针)将不同角度的图片添加到List中, 所有图片角度需要均等分360度,即如果有10张图片(其中,360度的图片和0度图片重合,所以不放360角度图片。), 则每张图片按照36度间隔划分。set3DGuiderMarkerIconList(HashMap<NaviType, List<BitmapDescriptor>> guiderMarkerIconList) 设置3D车标图片列表 3D Marker的Icon列表,需要开发者按照逆时针顺序(Maker的角度是逆时针)将不同角度的图片添加到List中, 所有图片角度需要均等分360度,即如果有10张图片(其中,360度的图片和0度图片重合,所以不放360角度图片。), 则每张图片按照36度间隔划分。setCarIcon(BitmapDescriptor iconDescriptor) 设置车ICON(司机点)setCarInfoWindowView(android.view.View infoWindowView) 设置小车infoWindow的View控件 用户不设置则不做显示setCarInfoWindowYOffset(int yOffset) 设置小车InfoWindow坐标的Y偏移量setCarPoolDefaultWayPointOption(CarPoolWayPointDisplayOption wayPointOption) 设置拼单途经点默认显示选项setCarPoolDefaultWayPointOption(WayPointType wayPointType, CarPoolWayPointDisplayOption wayPointOption) 设置拼单起点或者终点途经点默认显示选项setCarPoolWayPointDisplayOptions(List<CarPoolWayPointDisplayOption> orderWayPointInfoList) 设置拼单指定订单途经点显示信息setCarPositionInfoWindowZIndex(int carPositionInfoWindowZIndex) 设置车标位置InfoWindow绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客setCarPositionMarkerZIndex(int carPositionMarkerZIndex) 设置终点位置Marker绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客setCongestionTrafficTexture(BitmapDescriptor lineDescriptor) 设置拥堵路况轨迹线填充setDefaultWayPointOption(WayPointDisplayOption wayPointOption) 设置途经点默认显示选项setDefaultWayPointOption(WayPointType wayPointType, WayPointDisplayOption wayPointOption) 设置起点或者终点途经点默认显示选项setEndPositionIcon(BitmapDescriptor iconDescriptor) 设置终点位置ICONsetEndPositionInfoWindowView(android.view.View infoWindowView) 设置订单终点infoWindow的View控件 用户不设置则不做显示setEndPositionInfoWindowYOffset(int yOffset) 设置终点InfoWindow坐标的Y偏移量setEndPositionInfoWindowZIndex(int endPositionInfoWindowZIndex) 设置终点位置InfoWindow绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客setEndPositionMarkerZIndex(int endPositionMarkerZIndex) 设置终点位置Marker绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客setGuiderIcons(HashMap<NaviType, BitmapDescriptor> iconDescriptors) 根据导航类型 设置车ICON(司机点),不同导航类型不同的iconsetMapViewPadding(int paddingLeft, int paddingTop, int paddingRight, int paddingBottom) 设置地图上子View距离地图View(布局)的边距setNormalDefaultWayPointOption(NormalWayPointDisplayOption normalWayPointOption) 设置普通订单途经点默认显示选项setNormalWayPointDisplayOptions(List<NormalWayPointDisplayOption> orderWayPointInfoList) 设置普通订单途经点显示信息setPassengerIcon(BitmapDescriptor iconDescriptor) 设置乘客Marker ICONsetPassengerMarkerZIndex(int passengerMarkerZIndex) 设置乘客位置Marker绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客setRouteLineWidth(int width) 设置路线宽度setRouteLineZIndex(int routeLineZIndex) 设置路线绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客setSevereCongestionTrafficTexture(BitmapDescriptor lineDescriptor) 设置严重拥堵路况轨迹线填充setSlowTrafficTexture(BitmapDescriptor lineDescriptor) 设置缓慢路况轨迹线填充setSmoothTrafficTexture(BitmapDescriptor lineDescriptor) 设置畅通路况轨迹线填充setStartPositionIcon(BitmapDescriptor iconDescriptor) 设置起点位置ICONsetStartPositionInfoWindowView(android.view.View infoWindowView) 设置订单起点infoWindow的View控件 用户不设置则不做显示setStartPositionInfoWindowYOffset(int yOffset) 设置起点InfoWindow坐标的Y偏移量setStartPositionInfoWindowZIndex(int startPositionInfoWindowZIndex) 设置起点位置InfoWindow绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客setStartPositionMarkerZIndex(int startPositionMarkerZIndex) 设置起点位置Marker绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客setUnknownTrafficTexture(BitmapDescriptor lineDescriptor) 设置未知路况轨迹线填充setWayPointDisplayOptions(List<WayPointDisplayOption> orderWayPointInfoList) 设置指定订单途经点显示信息setWayPointPassedDisplayMode(WayPointPassedDisplayMode passedDisplayMode) 设置普通拼单途经点显示类型voidsetWayPointsOptionsChanged(boolean wayPointsOptionsChanged) 设置途经点显示选项是否修改了,主要用于实时重绘制指定订单途经点显示信息showCarIcon(boolean isShow) 设置车(司机点)ICON是否显示在地图上showCarIconInSpan(boolean isShow) 设置车(司机点)ICON是否显示在地图可见区域showCarInfoWindow(boolean isShow) 设置小车InfoWindow是否显示在地图上showCarInfoWindowInSpan(boolean isShow) 设置小车InfoWindow是否显示在地图可见区域showEndPositionIcon(boolean isShow) 设置终点位置ICON是否显示在地图上showEndPositionIconInSpan(boolean isShow) 设置终点位置ICON是否显示在地图可见区域showEndPositionInfoWindow(boolean isShow) 设置订单终点InfoWindow是否显示在地图上showEndPositionInfoWindowInSpan(boolean isShow) 设置订单终点InfoWindow是否显示在地图可见区域showPassengereIcon(boolean isShow) 设置乘客ICON是否显示在地图上showPassengereIconInSpan(boolean isShow) 设置乘客ICON是否显示在地图可见区域showRoutePlan(boolean isShow) 设置路线+路况是否显示在地图上showRoutePlanInSpan(boolean isShow) 设置路线+路况是否显示在地图可见区域showStartPositionIcon(boolean isShow) 设置起点位置ICON是否显示在地图上showStartPositionIconInSpan(boolean isShow) 设置起点位置ICON是否显示在地图可见区域showStartPositionInfoWindow(boolean isShow) 设置订单起点InfoWindow是否显示在地图上showStartPositionInfoWindowInSpan(boolean isShow) 设置订单起点InfoWindow是否显示在地图可见区域voidshowWayPointsIcon(boolean isShow) 设置途经点图标是否显示
-
Constructor Details
-
DisplayOptions
public DisplayOptions()构造函数
-
-
Method Details
-
setStartPositionIcon
设置起点位置ICON- Parameters:
iconDescriptor- icon图片封装- Returns:
- DisplayOptions 绘制参数对象
- Throws:
IllegalArgumentException- ificonDescriptoris null.
-
showStartPositionIcon
设置起点位置ICON是否显示在地图上- Parameters:
isShow- 是否显示iicon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
showStartPositionIconInSpan
设置起点位置ICON是否显示在地图可见区域- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
setEndPositionIcon
设置终点位置ICON- Parameters:
iconDescriptor- icon图片封装- Returns:
- DisplayOptions 绘制参数对象
- Throws:
IllegalArgumentException- ificonDescriptoris null.
-
showEndPositionIcon
设置终点位置ICON是否显示在地图上- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
showEndPositionIconInSpan
设置终点位置ICON是否显示在地图可见区域- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
setCarIcon
设置车ICON(司机点)- Parameters:
iconDescriptor- icon图片封装- Returns:
- DisplayOptions 绘制参数对象
- Throws:
IllegalArgumentException- ificonDescriptoris null.
-
setGuiderIcons
根据导航类型 设置车ICON(司机点),不同导航类型不同的icon- Parameters:
iconDescriptors- icon图片封装- Returns:
- DisplayOptions 绘制参数对象
- Throws:
IllegalArgumentException- ificonDescriptoris null.
-
showCarIcon
设置车(司机点)ICON是否显示在地图上- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
showCarIconInSpan
设置车(司机点)ICON是否显示在地图可见区域- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
setPassengerIcon
设置乘客Marker ICON- Parameters:
iconDescriptor- icon图片封装- Returns:
- DisplayOptions 绘制参数对象
- Throws:
IllegalArgumentException- ificonDescriptoris null.
-
showPassengereIcon
设置乘客ICON是否显示在地图上- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
showPassengereIconInSpan
设置乘客ICON是否显示在地图可见区域- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
showRoutePlan
设置路线+路况是否显示在地图上- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
showRoutePlanInSpan
设置路线+路况是否显示在地图可见区域- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
setSmoothTrafficTexture
设置畅通路况轨迹线填充- Parameters:
lineDescriptor- 轨迹线填充- Returns:
- DisplayOptions 绘制参数对象
- Throws:
IllegalArgumentException- iflineDescriptoris null.
-
setSlowTrafficTexture
设置缓慢路况轨迹线填充- Parameters:
lineDescriptor- 轨迹线填充- Returns:
- DisplayOptions 绘制参数对象
- Throws:
IllegalArgumentException- iflineDescriptoris null.
-
setCongestionTrafficTexture
设置拥堵路况轨迹线填充- Parameters:
lineDescriptor- 轨迹线填充- Returns:
- DisplayOptions 绘制参数对象
- Throws:
IllegalArgumentException- iflineDescriptoris null.
-
setSevereCongestionTrafficTexture
设置严重拥堵路况轨迹线填充- Parameters:
lineDescriptor- 轨迹线填充- Returns:
- DisplayOptions 绘制参数对象
- Throws:
IllegalArgumentException- iflineDescriptoris null.
-
setUnknownTrafficTexture
设置未知路况轨迹线填充- Parameters:
lineDescriptor- 轨迹线填充- Returns:
- DisplayOptions 绘制参数对象
- Throws:
IllegalArgumentException- iflineDescriptoris null.
-
setRouteLineWidth
设置路线宽度- Parameters:
width- 路线宽度- Returns:
- DisplayOptions 绘制参数对象
-
setCarInfoWindowView
设置小车infoWindow的View控件 用户不设置则不做显示- Parameters:
infoWindowView- infoWindow的view控件- Returns:
- DisplayOptions 绘制参数对象
-
setStartPositionInfoWindowView
设置订单起点infoWindow的View控件 用户不设置则不做显示- Parameters:
infoWindowView- infoWindow的view控件- Returns:
- DisplayOptions 绘制参数对象
-
setEndPositionInfoWindowView
设置订单终点infoWindow的View控件 用户不设置则不做显示- Parameters:
infoWindowView- infoWindow的view控件- Returns:
- DisplayOptions 绘制参数对象
-
showStartPositionInfoWindow
设置订单起点InfoWindow是否显示在地图上- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
showStartPositionInfoWindowInSpan
设置订单起点InfoWindow是否显示在地图可见区域- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
showEndPositionInfoWindow
设置订单终点InfoWindow是否显示在地图上- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
showEndPositionInfoWindowInSpan
设置订单终点InfoWindow是否显示在地图可见区域- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
showCarInfoWindow
设置小车InfoWindow是否显示在地图上- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
showCarInfoWindowInSpan
设置小车InfoWindow是否显示在地图可见区域- Parameters:
isShow- 是否显示icon。True--显示,False--不显示- Returns:
- DisplayOptions 绘制参数对象
-
setMapViewPadding
public DisplayOptions setMapViewPadding(int paddingLeft, int paddingTop, int paddingRight, int paddingBottom) 设置地图上子View距离地图View(布局)的边距- Parameters:
paddingLeft- 左边距, 单位为pixelpaddingTop- 上边距, 单位为pixelpaddingRight- 右边距, 单位为pixelpaddingBottom- 下边距, 单位为pixel- Returns:
- DisplayOptions 绘制参数对象
-
getStartPositionIcon
获取起点位置Marker ICON- Returns:
- BitmapDescriptor
-
getEndPositionIcon
获取终点位置Marker ICON -
getCarIcon
获取小车(司机位置)Marker ICON -
getGuiderIcon
获取小车(司机位置)Marker ICON -
getRouteLineWidth
public int getRouteLineWidth()获取路线宽度 -
getTrafficTextureList
获取路况填充纹理列表 路况类型:0:未知 1:畅通 2:缓行 3:拥堵 4:非常拥堵- Returns:
- 填充纹理
-
getCarInfoWindowView
public android.view.View getCarInfoWindowView()获取小车InfoWindow的View控件- Returns:
- InfoWindow的view控件
-
getStartPositionInfoWindowView
public android.view.View getStartPositionInfoWindowView()获取订单起点InfoWindow的View控件- Returns:
- InfoWindow的view控件
-
getEndPositionInfoWindowView
public android.view.View getEndPositionInfoWindowView()获取订单终点InfoWindow的View控件- Returns:
- InfoWindow的view控件
-
getPassengerIcon
获取乘客Marker Icon- Returns:
- Icon图片封装
-
isShowStartPositionMarker
public boolean isShowStartPositionMarker()是否在地图上显示订单起点Marker- Returns:
- true--显示,false--不显示
-
isShowStartPositionMarkerInSpan
public boolean isShowStartPositionMarkerInSpan()是否在地图可视范围显示订单起点Marker- Returns:
- true--显示,false--不显示
-
isShowEndPositionMarker
public boolean isShowEndPositionMarker()是否在地图上显示订单终点Marker- Returns:
- true--显示,false--不显示
-
isShowEndPositionMarkerInSpan
public boolean isShowEndPositionMarkerInSpan()是否在地图可视范围显示订单终点Marker- Returns:
- true--显示,false--不显示
-
isShowCarMarker
public boolean isShowCarMarker()是否在地图上显示小车Marker- Returns:
- true--显示,false--不显示
-
isShowCarMarkerInSpan
public boolean isShowCarMarkerInSpan()是否在地图可见范围显示小车Marker- Returns:
- true--显示,false--不显示
-
isShowPassengerIcon
public boolean isShowPassengerIcon()是否在地图上显示乘客Marker- Returns:
- true--显示,false--不显示
-
isShowPassengerIconInSpan
public boolean isShowPassengerIconInSpan()是否在地图可视范围显示乘客Marker- Returns:
- true--显示,false--不显示
-
isShowRoutePlan
public boolean isShowRoutePlan()是否在地图上显示路线- Returns:
- true--显示,false--不显示
-
isShowRoutePlanInSpan
public boolean isShowRoutePlanInSpan()是否在地图可视范围显示路线- Returns:
- true--显示,false--不显示
-
isShowStartPositionInfoWindow
public boolean isShowStartPositionInfoWindow()是否显示订单起点InfoWindow- Returns:
- true--显示,false--不显示
-
isShowEndPositionInfoWindow
public boolean isShowEndPositionInfoWindow()是否显示订单终点InfoWindow- Returns:
- true--显示,false--不显示
-
isShowCarInfoWindow
public boolean isShowCarInfoWindow()是否显示小车InfoWindow- Returns:
- true--显示,false--不显示
-
getPaddingLeft
public int getPaddingLeft()获取地图上View距离地图View的左边距- Returns:
- 左边距
-
getPaddingRight
public int getPaddingRight()获取地图上View距离地图View的右边距- Returns:
- 右边距
-
getPaddingTop
public int getPaddingTop()获取地图上View距离地图View的上边距- Returns:
- 上边距
-
getPaddingBottom
public int getPaddingBottom()获取地图上View距离地图View的下边距- Returns:
- 上边距
-
getStartPositionMarkerZIndex
public int getStartPositionMarkerZIndex()获取起点位置Marker绘制压盖顺序- Returns:
- 起点位置Marker绘制压盖顺序
-
setStartPositionMarkerZIndex
设置起点位置Marker绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客- Parameters:
startPositionMarkerZIndex- 起点位置Marker绘制压盖顺序,值要求大于1- Returns:
- DisplayOptions 绘制参数对象
-
getEndPositionMarkerZIndex
public int getEndPositionMarkerZIndex()获取终点位置Marker绘制压盖顺序- Returns:
- 终点位置Marker绘制压盖顺序
-
setEndPositionMarkerZIndex
设置终点位置Marker绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客- Parameters:
endPositionMarkerZIndex- 终点位置Marker绘制压盖顺序,值要求大于1- Returns:
- DisplayOptions 绘制参数对象
-
getCarPositionMarkerZIndex
public int getCarPositionMarkerZIndex()获取车标位置Marker绘制压盖顺序- Returns:
- 车标位置Marker绘制压盖顺序
-
setCarPositionMarkerZIndex
设置终点位置Marker绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客- Parameters:
carPositionMarkerZIndex- 终点位置Marker绘制压盖顺序,值要求大于1- Returns:
- DisplayOptions 绘制参数对象
-
getRouteLineZIndex
public int getRouteLineZIndex()获取路线绘制压盖顺序- Returns:
- 路线绘制压盖顺序
-
setRouteLineZIndex
设置路线绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客- Parameters:
routeLineZIndex- 路线绘制压盖顺序,值要求大于1- Returns:
- DisplayOptions 绘制参数对象
-
getStartPositionInfoWindowZIndex
public int getStartPositionInfoWindowZIndex()获取起点位置InfoWindow绘制压盖顺序- Returns:
- 起点位置InfoWindow绘制压盖顺序
-
setStartPositionInfoWindowZIndex
设置起点位置InfoWindow绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客- Parameters:
startPositionInfoWindowZIndex- 起点位置InfoWindow绘制压盖顺序,值要求大于1- Returns:
- DisplayOptions 绘制参数对象
-
getEndPositionInfoWindowZIndex
public int getEndPositionInfoWindowZIndex()获取终点位置InfoWindow绘制压盖顺序- Returns:
- 终点位置InfoWindow绘制压盖顺序
-
setEndPositionInfoWindowZIndex
设置终点位置InfoWindow绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客- Parameters:
endPositionInfoWindowZIndex- 终点位置InfoWindow绘制压盖顺序,值要求大于1- Returns:
- DisplayOptions 绘制参数对象
-
getCarPositionInfoWindowZIndex
public int getCarPositionInfoWindowZIndex()获取车标位置InfoWindow绘制压盖顺序- Returns:
- 车标位置InfoWindow绘制压盖顺序
-
setCarPositionInfoWindowZIndex
设置车标位置InfoWindow绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客- Parameters:
carPositionInfoWindowZIndex- 车标位置InfoWindow绘制压盖顺序,值要求大于1- Returns:
- DisplayOptions 绘制参数对象
-
getPassengerMarkerZIndex
public int getPassengerMarkerZIndex()获取乘客位置Marker绘制压盖顺序- Returns:
- 乘客位置Marker绘制压盖顺序
-
setPassengerMarkerZIndex
设置乘客位置Marker绘制压盖顺序 默认压盖顺序,从下至上:路线——>起点(Marker,InfoWindow)——>终点(Marker,InfoWindow)——>车标(Marker,InfoWindow)——>乘客- Parameters:
passengerMarkerZIndex- 乘客位置Marker绘制压盖顺序,值要求大于1- Returns:
- DisplayOptions 绘制参数对象
-
setStartPositionInfoWindowYOffset
设置起点InfoWindow坐标的Y偏移量- Parameters:
yOffset- 起点InfoWindow坐标的Y偏移量- Returns:
-
getStartPositionInfoWindowYOffset
public int getStartPositionInfoWindowYOffset()获取起点InfoWindow坐标的Y偏移量- Returns:
- 起点InfoWindow坐标的Y偏移量
-
setEndPositionInfoWindowYOffset
设置终点InfoWindow坐标的Y偏移量- Parameters:
yOffset- 起点InfoWindow坐标的Y偏移量
-
getEndPositionInfoWindowYOffset
public int getEndPositionInfoWindowYOffset()获取终点InfoWindow坐标的Y偏移量- Returns:
- 起点InfoWindow坐标的Y偏移量
-
setCarInfoWindowYOffset
设置小车InfoWindow坐标的Y偏移量- Parameters:
yOffset- 小车InfoWindow坐标的Y偏移量- Returns:
-
getCarInfoWindowYOffset
public int getCarInfoWindowYOffset()获取小车InfoWindow坐标的Y偏移量- Returns:
- 小车InfoWindow坐标的Y偏移量
-
set3DCarMarkerEnable
设置是否使用3D形式绘制小车车标,默认不使用 如果打开了该开关,需要传入3D的marker图片,参见set3DCarMarkerIconList(List)方法- Parameters:
is3DMarkerEnable- 3D车标开关,false--不使用,true--使用- Returns:
- DisplayOptions 绘制参数对象
-
get3DCarMarkerEnable
public boolean get3DCarMarkerEnable()是否使用3D形式绘制小车车标- Returns:
- 3D车标开关,false--不使用,true--使用
-
set3DCarMarkerIconList
设置3D车标图片列表 3D Marker的Icon列表,需要开发者按照逆时针顺序(Maker的角度是逆时针)将不同角度的图片添加到List中, 所有图片角度需要均等分360度,即如果有10张图片(其中,360度的图片和0度图片重合,所以不放360角度图片。), 则每张图片按照36度间隔划分。- Parameters:
carMarkerIconList- 3D Marker的Icon列表- Returns:
- DisplayOptions 绘制参数对象
-
set3DGuiderMarkerIconList
public DisplayOptions set3DGuiderMarkerIconList(HashMap<NaviType, List<BitmapDescriptor>> guiderMarkerIconList) 设置3D车标图片列表 3D Marker的Icon列表,需要开发者按照逆时针顺序(Maker的角度是逆时针)将不同角度的图片添加到List中, 所有图片角度需要均等分360度,即如果有10张图片(其中,360度的图片和0度图片重合,所以不放360角度图片。), 则每张图片按照36度间隔划分。- Parameters:
guiderMarkerIconList- 3D Marker的Icon列表- Returns:
- DisplayOptions 绘制参数对象
-
get3DCarMarkerIconList
获取3D车标图片列表- Returns:
- 3D Marker的Icon列表
-
get3DGuiderMarkerIconList
根据导航类型获取3D车标图片列表- Returns:
- 3D Marker的Icon列表
-
setNormalDefaultWayPointOption
public DisplayOptions setNormalDefaultWayPointOption(NormalWayPointDisplayOption normalWayPointOption) 设置普通订单途经点默认显示选项- Returns:
-
setDefaultWayPointOption
设置途经点默认显示选项- Returns:
-
setCarPoolDefaultWayPointOption
设置拼单途经点默认显示选项- Returns:
-
getWayPointPassedDisplayMode
获取普通拼单途经点显示类型- Returns:
-
setWayPointPassedDisplayMode
设置普通拼单途经点显示类型- Returns:
-
setDefaultWayPointOption
public DisplayOptions setDefaultWayPointOption(WayPointType wayPointType, WayPointDisplayOption wayPointOption) 设置起点或者终点途经点默认显示选项- Parameters:
wayPointType- 途经点类型,START_TYPE:起点途经点,END_TYPE:终点途经点wayPointOption- 途经点默认显示选项- Returns:
-
setCarPoolDefaultWayPointOption
public DisplayOptions setCarPoolDefaultWayPointOption(WayPointType wayPointType, CarPoolWayPointDisplayOption wayPointOption) 设置拼单起点或者终点途经点默认显示选项- Parameters:
wayPointType- 途经点类型,START_TYPE:起点途经点,END_TYPE:终点途经点wayPointOption- 途经点默认显示选项- Returns:
-
getDefaultStartWayPointOption
获取默认起点途经点显示选项- Returns:
-
getDefaultEndWayPointOption
获取默认终点途经点显示选项- Returns:
-
getCarPoolDefaultStartWayPointOption
获取拼单默认起点途经点显示选项- Returns:
-
getCarPoolDefaultEndWayPointOption
获取拼单默认终点途经点显示选项- Returns:
-
getNormalDefaultNoPassWayPointOption
获取普通订单默认未经过途经点显示选项- Returns:
-
getNormalDefaultPassedWayPointOption
获取普通订单默认已经过途经点显示选项- Returns:
-
setWayPointDisplayOptions
设置指定订单途经点显示信息- Parameters:
orderWayPointInfoList- 途经点显示信息列表
-
setNormalWayPointDisplayOptions
public DisplayOptions setNormalWayPointDisplayOptions(List<NormalWayPointDisplayOption> orderWayPointInfoList) 设置普通订单途经点显示信息- Parameters:
orderWayPointInfoList- 途经点显示信息列表
-
setCarPoolWayPointDisplayOptions
public DisplayOptions setCarPoolWayPointDisplayOptions(List<CarPoolWayPointDisplayOption> orderWayPointInfoList) 设置拼单指定订单途经点显示信息- Parameters:
orderWayPointInfoList- 途经点显示信息列表
-
getNormalWayPointDisplayOptions
获取指定普通订单途经点显示信息- Returns:
-
clearNormalWayPointDisplayOptions
public void clearNormalWayPointDisplayOptions()清空指定普通订单途经点显示设置信息 -
getCarPoolWayPointDisplayOptions
获取指定拼单订单途经点显示信息- Returns:
-
clearCarPoolWayPointDisplayOptions
public void clearCarPoolWayPointDisplayOptions()清空指定拼单途经点显示设置信息 -
getWayPointDisplayOptions
获取指定订单途经点显示信息- Returns:
-
clearWayPointDisplayOptions
public void clearWayPointDisplayOptions()清空指定途经点显示设置信息 -
isWayPointsOptionsChanged
public boolean isWayPointsOptionsChanged()获取途经点显示选项是否修改了- Returns:
-
setWayPointsOptionsChanged
public void setWayPointsOptionsChanged(boolean wayPointsOptionsChanged) 设置途经点显示选项是否修改了,主要用于实时重绘制指定订单途经点显示信息- Parameters:
wayPointsOptionsChanged-
-
showWayPointsIcon
public void showWayPointsIcon(boolean isShow) 设置途经点图标是否显示- Parameters:
isShow-
-
isShowWayPointsMarker
public boolean isShowWayPointsMarker()获取途经点图标是否显示- Returns:
-