程序包 | 说明 |
---|---|
com.baidu.mapapi.search.route |
路线规划检索模块
|
com.baidu.mapapi.search.share |
短串分享模块
|
限定符和类型 | 字段和说明 |
---|---|
PlanNode |
BikingRoutePlanOption.mFrom |
PlanNode |
DrivingRoutePlanOption.mFrom |
PlanNode |
MassTransitRoutePlanOption.mFrom |
PlanNode |
TransitRoutePlanOption.mFrom |
PlanNode |
WalkingRoutePlanOption.mFrom |
PlanNode |
BikingRoutePlanOption.mTo |
PlanNode |
DrivingRoutePlanOption.mTo |
PlanNode |
MassTransitRoutePlanOption.mTo |
PlanNode |
TransitRoutePlanOption.mTo |
PlanNode |
WalkingRoutePlanOption.mTo |
限定符和类型 | 字段和说明 |
---|---|
java.util.List<PlanNode> |
DrivingRoutePlanOption.mWayPoints |
限定符和类型 | 方法和说明 |
---|---|
static PlanNode |
PlanNode.withCityCodeAndPlaceName(int cityCode,
java.lang.String placeName)
通过地名和城市编码确定出行节点信息
|
static PlanNode |
PlanNode.withCityCodeAndPlaceNameAndPoiId(int cityCode,
java.lang.String placeName,
java.lang.String poiId)
通过地名和城市编码和PoiId确定出行节点信息
|
static PlanNode |
PlanNode.withCityNameAndPlaceName(java.lang.String city,
java.lang.String placeName)
通过地名和城市名确定出行节点信息
|
static PlanNode |
PlanNode.withCityNameAndPlaceNameAndPoiId(java.lang.String city,
java.lang.String placeName,
java.lang.String poiId)
通过地名和城市名和poiId确定出行节点信息
|
static PlanNode |
PlanNode.withLocation(LatLng location)
通过指定经纬度确定出行节点信息
|
static PlanNode |
PlanNode.withLocationAndPoiId(LatLng location,
java.lang.String poiId)
通过指定经纬度坐标和poiId确定出行节点信息
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<PlanNode> |
BikingRoutePlanOption.getWayPoints()
返回途经点
|
限定符和类型 | 方法和说明 |
---|---|
BikingRoutePlanOption |
BikingRoutePlanOption.from(PlanNode from)
设置起点
|
DrivingRoutePlanOption |
DrivingRoutePlanOption.from(PlanNode from)
设置起点
|
MassTransitRoutePlanOption |
MassTransitRoutePlanOption.from(PlanNode from)
设置起点
|
TransitRoutePlanOption |
TransitRoutePlanOption.from(PlanNode from)
设置起点
|
WalkingRoutePlanOption |
WalkingRoutePlanOption.from(PlanNode from)
设置起点
|
BikingRoutePlanOption |
BikingRoutePlanOption.to(PlanNode to)
设置终点
|
DrivingRoutePlanOption |
DrivingRoutePlanOption.to(PlanNode to)
设置终点
|
MassTransitRoutePlanOption |
MassTransitRoutePlanOption.to(PlanNode to)
设置终点
|
TransitRoutePlanOption |
TransitRoutePlanOption.to(PlanNode to)
设置终点
|
WalkingRoutePlanOption |
WalkingRoutePlanOption.to(PlanNode to)
设置终点
|
限定符和类型 | 方法和说明 |
---|---|
BikingRoutePlanOption |
BikingRoutePlanOption.passBy(java.util.List<PlanNode> wayPoints)
设置途经点
|
DrivingRoutePlanOption |
DrivingRoutePlanOption.passBy(java.util.List<PlanNode> wayPoints)
设置途经点
|
限定符和类型 | 字段和说明 |
---|---|
PlanNode |
RouteShareURLOption.mFrom |
PlanNode |
RouteShareURLOption.mTo |
限定符和类型 | 方法和说明 |
---|---|
RouteShareURLOption |
RouteShareURLOption.from(PlanNode from)
设置起点
|
RouteShareURLOption |
RouteShareURLOption.to(PlanNode to)
设置终点
|