Package com.baidu.navisdk.adapter
Class BNRoutePlanNode.Builder
- java.lang.Object
-
- com.baidu.navisdk.adapter.BNRoutePlanNode.Builder
-
- Enclosing class:
- BNRoutePlanNode
public static class BNRoutePlanNode.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BNRoutePlanNode.Builder
altitude(float altitude)
海拔高度,以WGS 84参考椭球上方的米为单位BNRoutePlanNode
build()
BNRoutePlanNode.Builder
buildingID(java.lang.String buildingID)
建筑物IDBNRoutePlanNode.Builder
description(java.lang.String description)
地址描述BNRoutePlanNode.Builder
districtID(int districtID)
行政区域idBNRoutePlanNode.Builder
floorId(java.lang.String floorId)
楼层IDBNRoutePlanNode.Builder
gpsAccuracy(float gpsAccuracy)
gps水平精度,以米为单位BNRoutePlanNode.Builder
gpsAngle(float gpsAngle)
gps角度,该设备的水平行进方向,与设备方向无关,0-360之间BNRoutePlanNode.Builder
gpsSpeed(float gpsSpeed)
gps速度,以米/秒为单位BNRoutePlanNode.Builder
id(java.lang.String id)
poi idBNRoutePlanNode.Builder
isMyLocation(boolean isMyLocation)
是否使用当前位置BNRoutePlanNode.Builder
latitude(double latitude)
纬度BNRoutePlanNode.Builder
longitude(double longitude)
经度BNRoutePlanNode.Builder
name(java.lang.String name)
地点名称BNRoutePlanNode.Builder
nodePrefer(int nodePrefer)
节点算路偏好
-
-
-
Method Detail
-
isMyLocation
public BNRoutePlanNode.Builder isMyLocation(boolean isMyLocation)
是否使用当前位置
-
id
public BNRoutePlanNode.Builder id(java.lang.String id)
poi id
-
name
public BNRoutePlanNode.Builder name(java.lang.String name)
地点名称
-
description
public BNRoutePlanNode.Builder description(java.lang.String description)
地址描述
-
latitude
public BNRoutePlanNode.Builder latitude(double latitude)
纬度
-
longitude
public BNRoutePlanNode.Builder longitude(double longitude)
经度
-
districtID
public BNRoutePlanNode.Builder districtID(int districtID)
行政区域id
-
gpsAngle
public BNRoutePlanNode.Builder gpsAngle(float gpsAngle)
gps角度,该设备的水平行进方向,与设备方向无关,0-360之间
-
gpsAccuracy
public BNRoutePlanNode.Builder gpsAccuracy(float gpsAccuracy)
gps水平精度,以米为单位
-
gpsSpeed
public BNRoutePlanNode.Builder gpsSpeed(float gpsSpeed)
gps速度,以米/秒为单位
-
altitude
public BNRoutePlanNode.Builder altitude(float altitude)
海拔高度,以WGS 84参考椭球上方的米为单位
-
buildingID
public BNRoutePlanNode.Builder buildingID(java.lang.String buildingID)
建筑物ID
-
floorId
public BNRoutePlanNode.Builder floorId(java.lang.String floorId)
楼层ID
-
nodePrefer
public BNRoutePlanNode.Builder nodePrefer(int nodePrefer)
节点算路偏好
-
build
public BNRoutePlanNode build()
-
-