huiyan-fe/react-bmapgl

绘制polyline时,存在没有连线的点

Opened this issue · 1 comments

map.addOverlay(new BMapGL.Marker(new BMapGL.Point(116.40432315282534,39.89288042490572)))
map.addOverlay(new BMapGL.Marker(new BMapGL.Point(116.40419509683154,39.89287689968862)))
map.addOverlay(new BMapGL.Marker(new BMapGL.Point(116.4047079608473, 39.89288400949964)))
// 绘制线
var polyline = new BMapGL.Polyline([
new BMapGL.Point(116.40432315282534,39.89288042490572),
new BMapGL.Point(116.40419509683154,39.89287689968862),
new BMapGL.Point(116.4047079608473, 39.89288400949964)
], {
strokeStyle: 'dashed',
strokeColor: 'blue',
strokeTexture: {
url: 'https://mapopen-pub-jsapigl.bj.bcebos.com/svgmodel/Icon_road_blue_arrow.png',
width: 16,
height: 64
},
strokeWeight: 8,
strokeOpacity: 0.8,
node: node
});
map.addOverlay(polyline);
问题
辛苦帮忙看一下