leaflet 绘制 带箭头的线

箭头不是画的线段,是贴的图标,再按方向旋转一下。 代码: //添加箭头线 function addLineDirection(polylinePointArr, source, target) { var lineDirection = {}; var polyline1 = L.polyline(
posted @ 2020-08-01 12:34  0611163  阅读(2861)  评论(4编辑  收藏  举报