Accessors
city
- get city(): null | string
Returns null | string
cityCode
- get cityCode(): null | string
Returns null | string
cityName
- get cityName(): null | string
Returns null | string
name
- get name(): null | string
Returns null | string
poiId
- get poiId(): null | string
Returns null | string
Methods
Static withLocationAndPoiId
- withLocationAndPoiId(location, poiId): PlanNode
出行节点信息
Static withCityNameAndPlaceName
- withCityNameAndPlaceName(city, placeName): PlanNode
Parameters
- city: string
- placeName: string
出行节点对象
Static withCityNameAndPlaceNameAndPoiId
- withCityNameAndPlaceNameAndPoiId(city, placeName, poiId): PlanNode
Parameters
- city: string
- placeName: string
- poiId: string
出行节点对象
Static withCityCodeAndPlaceName
- withCityCodeAndPlaceName(cityCode, placeName): PlanNode
Parameters
- cityCode: number
- placeName: string
出行节点对象
Static withCityCodeAndPlaceNameAndPoiId
- withCityCodeAndPlaceNameAndPoiId(cityCode, placeName, poiId): PlanNode
Parameters
- cityCode: number
- placeName: string
- poiId: string
出行节点对象
路径规划中的出行节点信息,出行节点包括:起点,终点,途经点
出行节点信息可以通过两种方式确定:
1: 给定出行节点经纬度坐标, 添加poiID绑路更准确
2: 给定出行节点地名和城市名, 添加poiID绑路更准确