yue1123 / vue3-baidu-map-gl

🎉百度地图 GL版 Vue3 组件库,baidu map gl components libary based on Vue3.0
https://yue1123.github.io/vue3-baidu-map-gl/
MIT License
378 stars 45 forks source link

途经点路径规划 #99

Closed zhuqiyun closed 4 weeks ago

zhuqiyun commented 1 month ago

const driving = new BMapGL.DrivingRoute(pageMap.mapHandle, { renderOptions: { map: pageMap.mapHandle, autoViewport: true, }, }) const start = new BMapGL.Point(116.310791, 40.003419) const end = new BMapGL.Point(116.486419, 39.877282) const wayPonit = new BMapGL.Point(116.486419, 39.877282) driving.search(start, end, { wayPonit: [wayPonit] })

图示不能传入途经点,3.0不能传入途经点,有什么解决方法跟2.0一样可以传入途经点嘛。

zhuqiyun commented 1 month ago

DrivingRouteLine这个是可以增加途经点的,但是提示找不到

yue1123 commented 4 weeks ago

感谢反馈,这不属于本组件库的能处理的issue 范围。你可以参考下这个示例 https://lbsyun.baidu.com/jsdemo.htm#drivingroute1